Commit 6b6b97c8 by Torkel Ödegaard

Minor bug fix for rememeber refresh interval after zooming two or more times, Fixes #1408

parent 5c3e3661
...@@ -94,7 +94,7 @@ define([ ...@@ -94,7 +94,7 @@ define([
// disable refresh if we have an absolute time // disable refresh if we have an absolute time
if (time.to !== 'now') { if (time.to !== 'now') {
this.old_refresh = this.dashboard.refresh; this.old_refresh = this.dashboard.refresh || this.old_refresh;
this.set_interval(false); this.set_interval(false);
} }
else if (this.old_refresh && this.old_refresh !== this.dashboard.refresh) { else if (this.old_refresh && this.old_refresh !== this.dashboard.refresh) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment