1
0
Fork 0
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:
madebydna 2014-05-21 12:52:24 -07:00
parent fc2d5a4ae4
commit 88dc069ab4

View file

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