Przeglądaj źródła

Internationalise keybindings. (#8311)

Konstantin Koniev 8 lat temu
rodzic
commit
9566197620
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      public/app/core/services/keybindingSrv.ts

+ 1 - 1
public/app/core/services/keybindingSrv.ts

@@ -74,7 +74,7 @@ export class KeybindingSrv {
       evt.stopPropagation();
       evt.stopPropagation();
       evt.returnValue = false;
       evt.returnValue = false;
       return this.$rootScope.$apply(fn.bind(this));
       return this.$rootScope.$apply(fn.bind(this));
-    });
+    }, 'keydown');
   }
   }
 
 
   showDashEditView(view) {
   showDashEditView(view) {