For faster processing, use DOMContentLoaded instead
This commit is contained in:
		
							parent
							
								
									7a6033ec8c
								
							
						
					
					
						commit
						61082a0c67
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								scripts/external/watch.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								scripts/external/watch.js
									
										
									
									
										vendored
									
									
								
							|  | @ -34,7 +34,7 @@ let main = (async () => { | |||
| 			 | ||||
| 			 | ||||
| 			// Begin only when the page is fully loaded. 
 | ||||
| 			window.addEventListener(`load`, (event) => { | ||||
| 			window.addEventListener(`DOMContentLoaded`, (event) => { | ||||
| 				// Begin processing. 
 | ||||
| 				let PROC = new processor(matches); | ||||
| 				 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue