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