show a hint for the user that a tap leads to the info screen in mobile status bar, when no portal is selected.
This commit is contained in:
parent
c5c762a707
commit
7fd3cb7fd6
@ -117,6 +117,8 @@ window.runOnSmartphonesAfterBoot = function() {
|
|||||||
// add a div/hook for updating mobile info
|
// add a div/hook for updating mobile info
|
||||||
$('#updatestatus').prepend('<div id="mobileinfo" onclick="show(\'info\')"></div>');
|
$('#updatestatus').prepend('<div id="mobileinfo" onclick="show(\'info\')"></div>');
|
||||||
window.addHook('portalDetailsUpdated', window.smartphoneInfo);
|
window.addHook('portalDetailsUpdated', window.smartphoneInfo);
|
||||||
|
// init msg of status bar. hint for the user that a tap leads to the info screen
|
||||||
|
$('#mobileinfo').html('<div style="text-align: center"><b>tap here for info screen</b></div>');
|
||||||
|
|
||||||
// disable img full view
|
// disable img full view
|
||||||
$('#portaldetails').off('click', '**');
|
$('#portaldetails').off('click', '**');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user