MOBILE-4673 ios: Fix iframe links script not loaded in some apps

main
Dani Palou 2024-10-08 12:47:02 +02:00
parent 6d2b1ed902
commit 7f37d87dd9
1 changed files with 1 additions and 1 deletions

View File

@ -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 });