mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-01 03:26:36 +08:00
Terminate unterminated JS statement in views/ErrorHandler/exception.php (#17611)
This commit is contained in:
committed by
Alexander Makarov
parent
848ab0ce6e
commit
74c6797a41
@ -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)?>
|
||||||
|
|||||||
Reference in New Issue
Block a user