|  |  |  | @ -30,6 +30,7 @@ import { Registration } from '../util/registration'; | 
		
	
		
			
				|  |  |  |  | import { Storage, isSignInByLinking } from '../util/storage'; | 
		
	
		
			
				|  |  |  |  | import { getOppositeTheme, isThemeMismatched } from '../util/theme'; | 
		
	
		
			
				|  |  |  |  | import { getLocale } from '../util/i18n/shared'; | 
		
	
		
			
				|  |  |  |  | import { rtlLocales } from '../localization/constants'; | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | // Globally disable drag and drop
 | 
		
	
		
			
				|  |  |  |  | document.body.addEventListener( | 
		
	
	
		
			
				
					|  |  |  | @ -291,8 +292,6 @@ async function start() { | 
		
	
		
			
				|  |  |  |  |   }); | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |   function switchBodyToRtlIfNeeded() { | 
		
	
		
			
				|  |  |  |  |     const rtlLocales = ['fa', 'ar', 'he']; | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |     const loc = getLocale(); | 
		
	
		
			
				|  |  |  |  |     if (rtlLocales.includes(loc) && !document.getElementById('body')?.classList.contains('rtl')) { | 
		
	
		
			
				|  |  |  |  |       document.getElementById('body')?.classList.add('rtl'); | 
		
	
	
		
			
				
					|  |  |  | 
 |