mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	tweak boot.js
This commit is contained in:
		
							parent
							
								
									10f4815d34
								
							
						
					
					
						commit
						f2e91f4d62
					
				
					 1 changed files with 8 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -56,12 +56,14 @@
 | 
			
		|||
	//#endregion
 | 
			
		||||
 | 
			
		||||
	//#region Script
 | 
			
		||||
	import(`/assets/${CLIENT_ENTRY}`)
 | 
			
		||||
		.catch(async e => {
 | 
			
		||||
			await checkUpdate();
 | 
			
		||||
			console.error(e);
 | 
			
		||||
			renderError('APP_IMPORT', e);
 | 
			
		||||
		})
 | 
			
		||||
	window.addEventListener('DOMContentLoaded', () => {
 | 
			
		||||
		import(`/assets/${CLIENT_ENTRY}`)
 | 
			
		||||
			.catch(async e => {
 | 
			
		||||
				await checkUpdate();
 | 
			
		||||
				console.error(e);
 | 
			
		||||
				renderError('APP_IMPORT', e);
 | 
			
		||||
			});
 | 
			
		||||
	});
 | 
			
		||||
	//#endregion
 | 
			
		||||
 | 
			
		||||
	//#region Theme
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue