mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -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() {
|
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++;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user