unbind resize event during slideshow

This commit is contained in:
Aaron Bassett 2014-04-16 09:52:29 -04:00
parent 8ca589cdf5
commit ada56ea8ce

View File

@ -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++;
});
@ -82,4 +83,4 @@ function (angular, _, kbn) {
});
});
});