summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-19 07:37:55 +0100
committerAndrew Dolgov <[email protected]>2008-05-19 07:37:55 +0100
commitabe6d9346ea8a9cbbed7d11ec6f7a28183df04e9 (patch)
treee55d8501ffcd6bfbab864388f174ccb06e46905c /tt-rss.js
parent4fe5fe2d2ee8624dc9f7f04c72cc58432db113d8 (diff)
map inline search to |
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/tt-rss.js b/tt-rss.js
index f1fe96998..247dca2a2 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -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 */