MOBILE-4673 ios: Fix iframe links script not loaded in some apps
parent
6d2b1ed902
commit
7f37d87dd9
|
@ -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…
Reference in New Issue