From 90baf6b849460675a89db1bf909ffc41ce9eadd3 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Thu, 1 Jun 2023 15:52:06 +0100 Subject: [PATCH] Stupid typos --- www/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;