Skip to content

Commit 32d4c56

Browse files
xssfoxTheSkorm
authored andcommitted
fix bug where up location permission tries to turn on chase car!
1 parent 0669e78 commit 32d4c56

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.template.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1"/>
1010
<meta name="apple-mobile-web-app-title" content="SondeHub Tracker">
1111
<meta name="apple-mobile-web-app-capable" content="yes" />
12+
<meta name="mobile-web-app-capable" content="yes" />
1213
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
1314
<meta name="theme-color" content="#00a3d3" />
1415
<link rel="apple-touch-icon" sizes="57x57" href="img/apple-touch-icon.png" />

js/app.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,7 @@ function positionUpdateError(error) {
339339
switch(error.code)
340340
{
341341
case error.PERMISSION_DENIED:
342-
alert("no permission to use your location");
343-
$('#sw_chasecar').click(); // turn off chase car
342+
$('#sw_chasecar').removeClass('on').addClass('off');
344343
break;
345344
default:
346345
break;

0 commit comments

Comments
 (0)