mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 14:05:54 +00:00
closeInfoBox: always enable hotkeys
This commit is contained in:
18
functions.js
18
functions.js
@@ -1288,15 +1288,19 @@ function closeErrorBox() {
|
|||||||
|
|
||||||
function closeInfoBox(cleanup) {
|
function closeInfoBox(cleanup) {
|
||||||
|
|
||||||
if (Element.visible("infoBoxShadow")) {
|
try {
|
||||||
Element.hide("dialog_overlay");
|
|
||||||
Element.hide("infoBoxShadow");
|
|
||||||
|
|
||||||
if (cleanup) $("infoBoxShadow").innerHTML = " ";
|
|
||||||
|
|
||||||
enableHotkeys();
|
enableHotkeys();
|
||||||
}
|
|
||||||
|
|
||||||
|
if (Element.visible("infoBoxShadow")) {
|
||||||
|
Element.hide("dialog_overlay");
|
||||||
|
Element.hide("infoBoxShadow");
|
||||||
|
|
||||||
|
if (cleanup) $("infoBoxShadow").innerHTML = " ";
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
exception_error("closeInfoBox", e);
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user