Skip to content

Commit e172cbe

Browse files
reset nite-overlay when stopFollow() is called
1 parent b310258 commit e172cbe

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

cache.manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# version 263
2+
# version 265
33

44
# gogole maps files
55
http://maps.google.com/maps/api/js?v=3.10&sensor=false&language=en_us&key=AIzaSyCOqkcNey4CCyG4X0X5qxHAhCgD8g5DwXg

js/tracker.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,10 @@ function stopFollow() {
243243
if(follow_vehicle != -1) {
244244
vehicles[follow_vehicle].follow = false;
245245
follow_vehicle = -1;
246+
247+
// reset nite overlay
248+
nite.setDate(null);
249+
nite.refresh();
246250
}
247251
}
248252

0 commit comments

Comments
 (0)