mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-10-31 18:47:33 +08:00 
			
		
		
		
	Terminate unterminated JS statement in views/ErrorHandler/exception.php (#17611)
This commit is contained in:
		 Zalatov Alexander
					Zalatov Alexander
				
			
				
					committed by
					
						 Alexander Makarov
						Alexander Makarov
					
				
			
			
				
	
			
			
			 Alexander Makarov
						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