We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b654512 commit bd1a870Copy full SHA for bd1a870
js/app.js
@@ -143,7 +143,10 @@ function load_hash(no_refresh) {
143
144
// force refresh
145
if(!no_refresh) {
146
- if(refresh) clean_refresh(wvar.mode, true);
+ if(refresh) {
147
+ zoomed_in = false;
148
+ clean_refresh(wvar.mode, true);
149
+ }
150
else if(refocus) {
151
$(".row.active").removeClass('active');
152
$(".vehicle"+vehicles[wvar.focus].uuid).addClass('active');
js/tracker.js
@@ -351,7 +351,7 @@ function clean_refresh(text, force) {
351
352
car_index = 0;
353
balloon_index = 0;
354
- stopFollow();
+ if(!force) stopFollow();
355
356
// add loading spinner in the vehicle list
357
$('#main .empty').parent().remove();
0 commit comments