New keybind: catalog search box.

Close #1306, #1297.
This commit is contained in:
NoneGiven 2013-10-18 01:06:50 -05:00 committed by Mayhem
parent aae051b62e
commit bf0ea30fdc
3 changed files with 6 additions and 1 deletions

View File

@ -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*

View File

@ -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.']

View File

@ -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'