From 74c6797a4113f972a69aa30b36d1d0f3db7f9d5c Mon Sep 17 00:00:00 2001 From: Zalatov Alexander Date: Tue, 15 Oct 2019 18:29:39 +1000 Subject: [PATCH] Terminate unterminated JS statement in views/ErrorHandler/exception.php (#17611) --- framework/views/errorHandler/exception.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/views/errorHandler/exception.php b/framework/views/errorHandler/exception.php index 319478f17c..d097a1c92f 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)?>