0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/client/views/settings/navigation.js

14 lines
346 B
JavaScript
Raw Normal View History

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;