mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 00:43:24 +08:00
9ced796674
Changed the search button binding from a click binding in mousetrap.js to a function binding. Added a showSearch function that uses jquery to click the '#search-button' element and the function returns false preventing the default action and stops the keydown event from bubbling upwards. Meta Discourse Bug Thread: https://meta.discourse.org/t/shortcut-for-search-leaves-a-in-the-search-field/14394 Mousetrap reference: http://craig.is/killing/mice |
||
---|---|---|
.. | ||
admin | ||
defer | ||
discourse | ||
docs | ||
locales | ||
admin.js.erb | ||
application.js.erb | ||
discourse.js | ||
ember_include.js.erb | ||
env.js | ||
jquery_include.js.erb | ||
main_include_admin.js | ||
main_include.js | ||
pagedown_custom.js | ||
preload_store.js | ||
vendor.js |