Apply some customization
This commit is contained in:
@ -567,6 +567,15 @@ require(["dojo/_base/kernel",
|
||||
this.hotkey_actions["toggle_night_mode"] = function () {
|
||||
App.toggleNightMode();
|
||||
};
|
||||
this.hotkey_actions['mark_all_as_read'] = function () {
|
||||
Headlines.select('unread');
|
||||
Headlines.selectionToggleUnread({ no_error: 1 });
|
||||
setTimeout(function() {
|
||||
if (Feeds.getActive() != undefined) {
|
||||
Feeds.open({feed: Feeds.getActive(), is_cat: Feeds.activeIsCat()});
|
||||
}
|
||||
}, 1000);
|
||||
};
|
||||
},
|
||||
onActionSelected: function(opid) {
|
||||
switch (opid) {
|
||||
|
Reference in New Issue
Block a user