1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 06:15:54 +00:00

map inline search to |

This commit is contained in:
Andrew Dolgov
2008-05-19 07:37:55 +01:00
parent 4fe5fe2d2e
commit abe6d9346e
3 changed files with 14 additions and 3 deletions

View File

@@ -1106,6 +1106,18 @@ 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");
}
}
}
}
/* Prefix f */