1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-20 13:51:28 +00:00

headlines toolbar: code cleanup

This commit is contained in:
Andrew Dolgov
2009-01-21 05:04:57 +01:00
parent b62f6ff448
commit d75ed3eba5
3 changed files with 46 additions and 149 deletions

View File

@@ -1202,19 +1202,6 @@ function hotkey_handler(e) {
}
}
if (keycode == 220 && shift_key) { // shift + |
if (document.getElementById("subtoolbar_search")) {
if (Element.visible("subtoolbar_search")) {
Element.hide("subtoolbar_search");
Element.show("subtoolbar_ftitle");
setTimeout("Element.focus('subtoolbar_search_box')", 100);
} else {
Element.show("subtoolbar_search");
Element.hide("subtoolbar_ftitle");
}
}
}
if (keycode == 88) { // x
if (activeFeedIsCat()) {
toggleCollapseCat(getActiveFeedId());