0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Merge pull request #4297 from PaulAdamDavis/rm-console-error

Remove console.error from shortcuts-route mixin
This commit is contained in:
Jason Williams 2014-10-17 09:41:54 -05:00
commit 266243501d

View file

@ -1,4 +1,4 @@
/* global key, console */
/* global key */
//Configure KeyMaster to respond to all shortcuts,
//even inside of
@ -73,7 +73,6 @@ var ShortcutsRoute = Ember.Mixin.create({
activate: function () {
this._super();
if (!this.shortcuts) {
console.error('Shortcuts not found on route');
return;
}
this.registerShortcuts();