Skip to content

Commit

Permalink
Merge pull request #4196 from dpalou/MOBILE-4673
Browse files Browse the repository at this point in the history
MOBILE-4673 ios: Fix iframe links script not loaded in some apps
  • Loading branch information
alfonso-salces authored Oct 8, 2024
2 parents 6d2b1ed + 7f37d87 commit 8f6c1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/services/utils/iframe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });

Expand Down

0 comments on commit 8f6c1fd

Please sign in to comment.