Update boot.js
This commit is contained in:
		
							parent
							
								
									990a583e5e
								
							
						
					
					
						commit
						0ebe801af4
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -51,9 +51,10 @@
 | 
			
		|||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (settings) {
 | 
			
		||||
		if (settings.device.lang) lang = settings.device.lang;
 | 
			
		||||
	}
 | 
			
		||||
	if (settings &&
 | 
			
		||||
			settings.device.lang &&
 | 
			
		||||
			LANGS.includes(settings.device.lang))
 | 
			
		||||
		lang = settings.device.lang;
 | 
			
		||||
	//#endregion
 | 
			
		||||
 | 
			
		||||
	// Detect the user agent
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue