Terminate unterminated JS statement in views/ErrorHandler/exception.php (#17611)

This commit is contained in:
Zalatov Alexander
2019-10-15 18:29:39 +10:00
committed by Alexander Makarov
parent 848ab0ce6e
commit 74c6797a41

View File

@ -531,8 +531,8 @@ window.onload = function() {
}; };
// Highlight lines that have text in them but still support text selection: // Highlight lines that have text in them but still support text selection:
document.onmousedown = function() { document.getElementsByTagName('body')[0].classList.add('mousedown'); } document.onmousedown = function() { document.getElementsByTagName('body')[0].classList.add('mousedown'); };
document.onmouseup = function() { document.getElementsByTagName('body')[0].classList.remove('mousedown'); } document.onmouseup = function() { document.getElementsByTagName('body')[0].classList.remove('mousedown'); };
</script> </script>
<?php if (method_exists($this, 'endBody')): ?> <?php if (method_exists($this, 'endBody')): ?>
<?php $this->endBody() // to allow injecting code into body (mostly by Yii Debug Toolbar)?> <?php $this->endBody() // to allow injecting code into body (mostly by Yii Debug Toolbar)?>