diff --git a/runestone/showeval/js/showEval.js b/runestone/showeval/js/showEval.js index d906e4d3f..ca6922ce4 100644 --- a/runestone/showeval/js/showEval.js +++ b/runestone/showeval/js/showEval.js @@ -64,9 +64,7 @@ var SHOWEVAL = (function () { thisModule.ShowEval.prototype.getWidth = function(text) { // TODO - class style must match or else width will be off. var newElem = $("
").addClass('showEval evalCont').hide().html(text); $('body').append(newElem); - console.log(newElem.width()); var newWidth = newElem.width() + 1; // +1 is a hack - console.log(newWidth); newElem.remove(); return newWidth;