mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 02:25:57 +00:00
move isCombinedMode to AppBase so we wouldn't crash in preferences
This commit is contained in:
@@ -134,6 +134,9 @@ define(["dojo/_base/declare"], function (declare) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
isCombinedMode: function() {
|
||||||
|
return this.getInitParam("combined_display_mode");
|
||||||
|
},
|
||||||
getActionByHotkeySequence: function (sequence) {
|
getActionByHotkeySequence: function (sequence) {
|
||||||
const hotkeys_map = App.getInitParam("hotkeys");
|
const hotkeys_map = App.getInitParam("hotkeys");
|
||||||
|
|
||||||
|
|||||||
@@ -204,9 +204,6 @@ require(["dojo/_base/kernel",
|
|||||||
|
|
||||||
return Feeds.reloadCurrent('');
|
return Feeds.reloadCurrent('');
|
||||||
},
|
},
|
||||||
isCombinedMode: function() {
|
|
||||||
return App.getInitParam("combined_display_mode");
|
|
||||||
},
|
|
||||||
hotkeyHandler: function(event) {
|
hotkeyHandler: function(event) {
|
||||||
if (event.target.nodeName == "INPUT" || event.target.nodeName == "TEXTAREA") return;
|
if (event.target.nodeName == "INPUT" || event.target.nodeName == "TEXTAREA") return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user