mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 03:33:58 -06: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 |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |