1
0
Fork 0
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:
Mike Perham 2014-05-21 13:18:26 -07:00
commit 44306bb2ec

View file

@ -211,6 +211,7 @@ var debounce = function(fn, timeout)
};
window.onresize = debounce(function() {
clearInterval(poller);
resetGraphs();
renderGraphs();
}, 125);