mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Remove console.error from shortcuts-route mixing
No issue Safari (iOS 8 & OS X Yosemite) throws a massive hissy fit about `console.error` and goes on to break all the things. This PR simply removes it.
This commit is contained in:
parent
a45157bb12
commit
13f8cc61eb
1 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue