mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
fixing polling interval reset on window resize
This commit is contained in:
parent
fc2d5a4ae4
commit
88dc069ab4
1 changed files with 1 additions and 0 deletions
|
@ -211,6 +211,7 @@ var debounce = function(fn, timeout)
|
|||
};
|
||||
|
||||
window.onresize = debounce(function() {
|
||||
clearInterval(poller);
|
||||
resetGraphs();
|
||||
renderGraphs();
|
||||
}, 125);
|
||||
|
|
Loading…
Reference in a new issue