mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-26 01:11:28 +00:00
dialog behaviour fixes
This commit is contained in:
8
prefs.js
8
prefs.js
@@ -1230,7 +1230,13 @@ function pref_hotkey_handler(e) {
|
||||
closeInfoBox();
|
||||
}
|
||||
|
||||
if (dialogs.length > 0 || !hotkeys_enabled) {
|
||||
var dialog = dijit.byId("infoBox");
|
||||
var dialog_visible = false;
|
||||
|
||||
if (dialog)
|
||||
dialog_visible = Element.visible(dialog.domNode);
|
||||
|
||||
if (dialog_visible || !hotkeys_enabled) {
|
||||
console.log("hotkeys disabled");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user