File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -901,8 +901,10 @@ $(window).ready(function() {
901901 //setTimeout(function() {updateCurrentPosition(50.27533, 3.335166);}, 5000);
902902 if ( navigator . geolocation ) {
903903 // if we have geolocation services, show the locate me button
904- // the button pants the map to the user current location
905- if ( is_mobile && ! wvar . enabled ) $ ( ".chasecar" ) . show ( ) ;
904+ // the button pans the map to the user current location
905+ //if(is_mobile && !wvar.enabled) $(".chasecar").show();
906+ // Enable the chase-car option for all browsers, not just mobile ones.
907+ $ ( ".chasecar" ) . show ( ) ;
906908 $ ( "#locate-me,#app_name" ) . attr ( 'style' , '' ) . click ( function ( ) {
907909 if ( map && currentPosition ) {
908910 // disable following of vehicles
You can’t perform that action at this time.
0 commit comments