git ssb

0+

ev / microbay



forked from Dominic / patchbay

Commit 254d428707404f153d5ee3cb7519467096be0cc7

Make slash trigger typing a slash in the search bar

Charles Lehner committed on 9/9/2016, 4:19:47 PM
Parent: f5bb452e8bc993b0fd216fb1d6c913481760ad45

Files changed

modules/tabs.jschanged
modules/tabs.jsView
@@ -131,9 +131,12 @@
131131 return
132132
133133 // activate the search field
134134 case 191: // /
135- search.activate('?', ev)
135+ if (ev.shiftKey)
136+ search.activate('?', ev)
137+ else
138+ search.activate('/', ev)
136139 return
137140
138141 // navigate to a feed
139142 case 50: // 2

Built with git-ssb-web