diff --git a/www/js/app.js b/www/js/app.js index 3b438633..49e17421 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -1483,9 +1483,9 @@ document.getElementById('tabOpenerCheck').addEventListener('click', function () if (!params.noWarning) uiUtil.systemAlert('
In this UWP app, opening a new browsable window only works in Service Worker mode.
' + 'Your system appears to support SW mode, so please try switching to it in Expert Settings below.
' + 'If your system does not support SW mode, then use the more basic "Download or open current article" feature below.
'); - paams.windowOpener = false; + params.windowOpener = false; } else if (params.windowOpener && /iOS|UWP$/.test(params.appType)) { - if (!paams.noWarning) uiUtil.systemAlert('This option is not currently supported ' + (/iOS/.test(params.appType) ? + if (!params.noWarning) uiUtil.systemAlert('
This option is not currently supported ' + (/iOS/.test(params.appType) ? 'on iOS devices because programmatic opening of windows is forbidden. However, the native long-press feature may work.
' : 'in UWP apps that cannot use Service Worker mode.Please try the more basic "Download or open current article" feature below instead.
')); params.windowOpener = false;