got rid of redundant code

This commit is contained in:
Philipp Schaefer
2013-10-02 23:40:51 +02:00
parent 7fd3cb7fd6
commit 72620ed668
5 changed files with 3 additions and 11 deletions

View File

@ -29,6 +29,6 @@ window.search = function(search) {
northEast = new L.LatLng(b[1], b[3]),
bounds = new L.LatLngBounds(southWest, northEast);
window.map.fitBounds(bounds);
if(window.isSmartphone()) window.smartphone.mapButton.click();
if(window.isSmartphone()) window.show('map');
});
}