forked from CIT/Vmeda.Online
		
	Merge pull request #4196 from dpalou/MOBILE-4673
MOBILE-4673 ios: Fix iframe links script not loaded in some apps
This commit is contained in:
		
						commit
						8f6c1fd4c2
					
				@ -559,7 +559,7 @@ export class CoreIframeUtilsProvider {
 | 
			
		||||
     */
 | 
			
		||||
    injectiOSScripts(userScriptWindow: WKUserScriptWindow): void {
 | 
			
		||||
        const wwwPath = CoreFile.getWWWAbsolutePath();
 | 
			
		||||
        const linksPath = CorePath.concatenatePaths(wwwPath, 'assets/js/iframe-treat-links.js');
 | 
			
		||||
        const linksPath = CorePath.concatenatePaths(wwwPath, 'assets/js/iframe-treat-links.js').replace(/%20/g, ' ');
 | 
			
		||||
 | 
			
		||||
        userScriptWindow.WKUserScript?.addScript({ id: 'CoreIframeUtilsLinksScript', file: linksPath });
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user