Skip to content

Commit

Permalink
Allow setting tick rate via URL param for debugging (#175)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Jowett <[email protected]>
  • Loading branch information
cryptk authored Aug 9, 2016
1 parent 8b2e80d commit 329983b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions opsy/views/main/static/js/opsy/opsy.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,8 @@ String.prototype.capitalize = function(all) {
return b;
})(window.location.search.substr(1).split('&'));
})(jQuery);

$(document).ready(function() {
opsy.task.tickRate = $.QueryString.tickrate !== undefined ?
$.QueryString.tickrate : opsy.task.tickRate;
});

0 comments on commit 329983b

Please sign in to comment.