closeInfoBox: always enable hotkeys

master
Andrew Dolgov 15 years ago
parent b103912495
commit 588e4dc3d3

@ -1288,13 +1288,17 @@ function closeErrorBox() {
function closeInfoBox(cleanup) {
try {
enableHotkeys();
if (Element.visible("infoBoxShadow")) {
Element.hide("dialog_overlay");
Element.hide("infoBoxShadow");
if (cleanup) $("infoBoxShadow").innerHTML = " ";
enableHotkeys();
}
} catch (e) {
exception_error("closeInfoBox", e);
}
return false;

Loading…
Cancel
Save