Commit ada56ea8 by Aaron Bassett

unbind resize event during slideshow

parent 8ca589cd
...@@ -67,6 +67,7 @@ function (angular, _, kbn) { ...@@ -67,6 +67,7 @@ function (angular, _, kbn) {
timerInstance = setInterval(function() { timerInstance = setInterval(function() {
$rootScope.$apply(function() { $rootScope.$apply(function() {
angular.element(window).unbind('resize');
$location.path(dashboards[index % dashboards.length].url); $location.path(dashboards[index % dashboards.length].url);
index++; 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