diff --git a/framework/views/errorHandler/exception.php b/framework/views/errorHandler/exception.php index 319478f..d097a1c 100644 --- a/framework/views/errorHandler/exception.php +++ b/framework/views/errorHandler/exception.php @@ -531,8 +531,8 @@ window.onload = function() { }; // Highlight lines that have text in them but still support text selection: - document.onmousedown = function() { document.getElementsByTagName('body')[0].classList.add('mousedown'); } - document.onmouseup = function() { document.getElementsByTagName('body')[0].classList.remove('mousedown'); } + document.onmousedown = function() { document.getElementsByTagName('body')[0].classList.add('mousedown'); }; + document.onmouseup = function() { document.getElementsByTagName('body')[0].classList.remove('mousedown'); }; endBody() // to allow injecting code into body (mostly by Yii Debug Toolbar)?>