Change message order

This commit is contained in:
Jaifroid 2023-03-04 18:48:34 +00:00
parent 13511be32d
commit 4485719b8f

View File

@ -1450,8 +1450,9 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'utf8', 'cache', 'images
params.lockDisplayOrientation = event.target.value || '';
settingsStore.setItem('lockDisplayOrientation', params.lockDisplayOrientation, Infinity);
if (rtn === 'click') {
uiUtil.systemAlert('<p>Please click the &nbsp;<span class="glyphicon glyphicon-fullscreen"></span>&nbsp; button top-right to enter full-screen mode.</p>' + (!params.PWAInstalled &&
/iOS/.test(params.appType) ?'<p>In Safari on iOS, consider adding this app to your homescreen (Share --&gt Add to Home), which will give a better experience than full-screen mode.</p>' : '')
uiUtil.systemAlert((!params.PWAInstalled && /iOS/.test(params.appType) ?
'<p>In Safari on iOS, consider adding this app to your homescreen (Share --&gt Add to Home), which will give a better experience than full-screen mode.</p>' : '')
+ '<p>Please click the &nbsp;<span class="glyphicon glyphicon-fullscreen"></span>&nbsp; button top-right to enter full-screen mode.</p>'
);
}
}