mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 01:53:33 -06:00
unbind resize event during slideshow
This commit is contained in:
parent
8ca589cdf5
commit
ada56ea8ce
@ -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) {
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user