Browse Source

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

tags/2.0.29
Zalatov Alexander 5 years ago committed by Alexander Makarov
parent
commit
74c6797a41
  1. 4
      framework/views/errorHandler/exception.php

4
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'); };
</script>
<?php if (method_exists($this, 'endBody')): ?>
<?php $this->endBody() // to allow injecting code into body (mostly by Yii Debug Toolbar)?>

Loading…
Cancel
Save