0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/client/views/settings/navigation.js
2015-01-14 21:24:08 +00:00

13 lines
346 B
JavaScript

import BaseView from 'ghost/views/settings/content-base';
var SettingsNavigationView = BaseView.extend({
keyPress: function (event) {
// + character
if (event.keyCode === 43) {
event.preventDefault();
this.get('controller').send('addItem');
}
}
});
export default SettingsNavigationView;