Commit ef54bb1b by Torkel Ödegaard

Merge pull request #323 from magicrobotmonkey/slideshow_leak

unbind resize event during slideshow
parents 8ca589cd ada56ea8
......@@ -67,6 +67,7 @@ function (angular, _, kbn) {
timerInstance = setInterval(function() {
$rootScope.$apply(function() {
angular.element(window).unbind('resize');
$location.path(dashboards[index % dashboards.length].url);
index++;
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment