refactor: minor change to #10199

This commit is contained in:
Torkel Ödegaard 2017-12-13 17:52:42 +01:00
parent 04bb2b8ce8
commit 90c5a8435f

View File

@ -81,7 +81,7 @@ export class KeybindingSrv {
this.bind('mod+o', () => { this.bind('mod+o', () => {
dashboard.graphTooltip = (dashboard.graphTooltip + 1) % 3; dashboard.graphTooltip = (dashboard.graphTooltip + 1) % 3;
appEvents.emit('graph-hover-clear'); appEvents.emit('graph-hover-clear');
scope.broadcastRefresh(); this.$rootScope.$broadcast('refresh');
}); });
this.bind('mod+s', e => { this.bind('mod+s', e => {
@ -189,7 +189,7 @@ export class KeybindingSrv {
}); });
this.bind('d r', () => { this.bind('d r', () => {
scope.ctrl.timeSrv.refreshDashboard(); this.$rootScope.$broadcast('refresh');
}); });
this.bind('d s', () => { this.bind('d s', () => {