From 88dc069ab4560c4d610ee4cdcd7c7f20cbb97fbd Mon Sep 17 00:00:00 2001 From: madebydna Date: Wed, 21 May 2014 12:52:24 -0700 Subject: [PATCH] fixing polling interval reset on window resize --- web/assets/javascripts/dashboard.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/assets/javascripts/dashboard.js b/web/assets/javascripts/dashboard.js index 0290c41e..a2bdf553 100644 --- a/web/assets/javascripts/dashboard.js +++ b/web/assets/javascripts/dashboard.js @@ -211,6 +211,7 @@ var debounce = function(fn, timeout) }; window.onresize = debounce(function() { + clearInterval(poller); resetGraphs(); renderGraphs(); }, 125);