mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Merge pull request #1727 from madebydna/configure_polling_interval
Fixing polling interval reset on window resize
This commit is contained in:
commit
44306bb2ec
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