mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
a007ae1442
Closes #4539
13 lines
346 B
JavaScript
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;
|