diff options
Diffstat (limited to 'www/js/map-OpenLayers.js')
-rw-r--r-- | www/js/map-OpenLayers.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/map-OpenLayers.js b/www/js/map-OpenLayers.js index b68b47e..9b62c22 100644 --- a/www/js/map-OpenLayers.js +++ b/www/js/map-OpenLayers.js @@ -67,9 +67,9 @@ function fixmystreet_onload() { }); var location_img = 'images/pin.png'; var location_bg_img = 'images/pin_shadow.png'; - if ( typeof device !== 'undefined' && + if ( typeof device !== 'undefined' && ( (device.platform == 'Android' && parseInt(device.version, 10) > 2) || - (device.platform !== 'Android') ) { + (device.platform !== 'Android') ) ) { location_img = 'images/pin.svg'; location_bg_img = 'images/pin_shadow.svg'; } |