diff --git a/CHANGELOG.md b/CHANGELOG.md index 639a34805..f326664c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +Added a keybind to open the catalog search form on index pages. + ### 3.11.5 - *2013-10-03* Minor Chrome 30 fix. @@ -17,7 +19,7 @@ Update posting cooldown timers to match 4chan settings: ### 3.11.2 - *2013-09-17* -Updated post and deletion cooldown timers to match 4chan changes: they are now twice longer. +Updated post and deletion cooldown timers to match 4chan changes: they are now twice as long. ### 3.11.1 - *2013-09-13* diff --git a/src/General/Config.coffee b/src/General/Config.coffee index a214386d5..1119d17d5 100644 --- a/src/General/Config.coffee +++ b/src/General/Config.coffee @@ -181,6 +181,7 @@ Config = 'Open front page': ['Shift+0', 'Open page 0 in a new tab.'] 'Next page': ['Right', 'Jump to the next page.'] 'Previous page': ['Left', 'Jump to the previous page.'] + 'Search form': ['Ctrl+Alt+s', 'Open the catalog search form.'] # Thread Navigation 'Next thread': ['Down', 'See next thread.'] 'Previous thread': ['Up', 'See previous thread.'] diff --git a/src/Miscellaneous/Keybinds.coffee b/src/Miscellaneous/Keybinds.coffee index 50177e169..36c193e97 100644 --- a/src/Miscellaneous/Keybinds.coffee +++ b/src/Miscellaneous/Keybinds.coffee @@ -73,6 +73,8 @@ Keybinds = when Conf['Previous page'] if form = $ '.prev form' window.location = form.action + when Conf['Search form'] + $.id('search-btn').click() # Thread Navigation when Conf['Next thread'] return if g.VIEW isnt 'index'