mirror of https://tt-rss.org/git/tt-rss.git
move isCombinedMode to AppBase so we wouldn't crash in preferences
This commit is contained in:
parent
ac17ded854
commit
676cdf6ee4
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue