diff --git a/functions.js b/functions.js index 5ce714b5d..56b7909d4 100644 --- a/functions.js +++ b/functions.js @@ -1266,7 +1266,7 @@ function closeInfoBox(cleanup) { Element.hide("dialog_overlay"); Element.hide("infoBoxShadow"); - if (cleanup) $("infoBoxShadow").innerHTML = " "; + if (cleanup) $("infoBox").innerHTML = " "; } } catch (e) { exception_error("closeInfoBox", e); diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index b55799ba3..e61329820 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -426,7 +426,7 @@ print "
- +
"; print ""; diff --git a/tt-rss.js b/tt-rss.js index 05fefea3a..d93ea260a 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -315,10 +315,6 @@ function resetSearch() { } } -function searchCancel() { - closeInfoBox(true); -} - function search() { closeInfoBox(); viewCurrentFeed(0, "");