Commit 687c85e2 authored by Troy A. Griffitts's avatar Troy A. Griffitts

Fixed disableTopBar on iOS

parent c74b27de
......@@ -1233,7 +1233,8 @@ console.log('Installed module: ' + app.mods[i].name + '; features.length: ' + ap
t += '<tr class="menuLabel"><td>&nbsp;</td></tr>';
t += '</tbody></table>';
$('.menupanel').html(t);
$('.menupanel').css('margin-top', app.isDisableTopbar() ? '0' : (app.topBarHeight+'em'));
if (app.isDisableTopbar()) $('.menupanel').css('margin-top', '0');
else $('.menupanel').removeAttr('style');
$('.menutab').click(function(){
if ($(this).hasClass('toshow')) { app.openMenu(); }
else { app.closeMenu(); }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment