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:
Philipp Schaefer 2013-10-02 23:33:09 +02:00
parent c5c762a707
commit 7fd3cb7fd6

View File

@ -117,6 +117,8 @@ window.runOnSmartphonesAfterBoot = function() {
// add a div/hook for updating mobile info
$('#updatestatus').prepend('<div id="mobileinfo" onclick="show(\'info\')"></div>');
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
$('#portaldetails').off('click', '**');