mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-10 12:53:54 -04:00
Change message order
This commit is contained in:
parent
13511be32d
commit
4485719b8f
@ -1450,8 +1450,9 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'utf8', 'cache', 'images
|
|||||||
params.lockDisplayOrientation = event.target.value || '';
|
params.lockDisplayOrientation = event.target.value || '';
|
||||||
settingsStore.setItem('lockDisplayOrientation', params.lockDisplayOrientation, Infinity);
|
settingsStore.setItem('lockDisplayOrientation', params.lockDisplayOrientation, Infinity);
|
||||||
if (rtn === 'click') {
|
if (rtn === 'click') {
|
||||||
uiUtil.systemAlert('<p>Please click the <span class="glyphicon glyphicon-fullscreen"></span> button top-right to enter full-screen mode.</p>' + (!params.PWAInstalled &&
|
uiUtil.systemAlert((!params.PWAInstalled && /iOS/.test(params.appType) ?
|
||||||
/iOS/.test(params.appType) ?'<p>In Safari on iOS, consider adding this app to your homescreen (Share --> Add to Home), which will give a better experience than full-screen mode.</p>' : '')
|
'<p>In Safari on iOS, consider adding this app to your homescreen (Share --> Add to Home), which will give a better experience than full-screen mode.</p>' : '')
|
||||||
|
+ '<p>Please click the <span class="glyphicon glyphicon-fullscreen"></span> button top-right to enter full-screen mode.</p>'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user