diff --git a/code/portal_highlighter.js b/code/portal_highlighter.js index bd945865..05bfd911 100644 --- a/code/portal_highlighter.js +++ b/code/portal_highlighter.js @@ -33,7 +33,7 @@ window.portalHighlighterControl = function() { }); $("#portal_highlight_select").val(_current_highlighter); $("#portal_highlight_select").change(function(){ changePortalHighlights($(this).val());}); - $(".leaflet-top.leaflet-left").css('padding-top', window.isSmartphone ? '55px' : '20px'); + $(".leaflet-top.leaflet-left").css('padding-top', '20px'); $(".leaflet-control-scale-line").css('margin-top','25px'); } } diff --git a/code/smartphone.js b/code/smartphone.js index cdbabc4f..562c7b38 100644 --- a/code/smartphone.js +++ b/code/smartphone.js @@ -77,8 +77,6 @@ window.runOnSmartphonesAfterBoot = function() { // disable img full view $('#portaldetails').off('click', '**'); - $('.leaflet-right').addClass('leaflet-left').removeClass('leaflet-right'); - // make buttons in action bar flexible var l = $('#chatcontrols a:visible'); l.css('width', 100/l.length + '%'); diff --git a/mobile/smartphone.css b/mobile/smartphone.css index 6feda6e9..ca0e782a 100644 --- a/mobile/smartphone.css +++ b/mobile/smartphone.css @@ -139,5 +139,5 @@ body { #portal_highlight_select{ top:0px !important; - left:60px !important; + left:0px !important; }