Skip to content

Commit

Permalink
Disable refresh if url contains timeframe
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed May 15, 2015
1 parent fb71017 commit cc5e118
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions htdocs/frontend/javascripts/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ vz.parseUrlParams = function() {

case 'from':
case 'to':
// disabled automatic refresh
vz.options.refresh = false;
// ms or speaking timestamp
var ts = (/^-?[0-9]+$/.test(vars[key])) ? parseInt(vars[key]) : new Date(vars[key]).getTime();
if (key == 'from')
Expand Down

0 comments on commit cc5e118

Please sign in to comment.