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 |
||
|---|---|---|
| .. | ||
| auto_close_form_component.js | ||
| basic_topic_list_component.js | ||
| bread_crumbs_component.js | ||
| category_group_component.js | ||
| categorydrop_component.js | ||
| groups_list_component.js | ||
| home_logo_component.js | ||
| keyboard_shortcuts_component.js | ||
| navigation_item_component.js | ||
| post_gap_component.js | ||
| private_message_map_component.js | ||
| radio_button.js | ||
| sortable_heading_component.js | ||
| toggle_summary_component.js | ||
| topic_map_component.js | ||
| topic_participant_component.js | ||
| topic_status_component.js | ||