summaryrefslogtreecommitdiffstats
path: root/client/components/sidebar/sidebarSearches.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/sidebar/sidebarSearches.js')
-rw-r--r--client/components/sidebar/sidebarSearches.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/client/components/sidebar/sidebarSearches.js b/client/components/sidebar/sidebarSearches.js
index 111a86b8..8944c04e 100644
--- a/client/components/sidebar/sidebarSearches.js
+++ b/client/components/sidebar/sidebarSearches.js
@@ -9,11 +9,13 @@ BlazeComponent.extendComponent({
},
events() {
- return [{
- 'submit .js-search-term-form'(evt) {
- evt.preventDefault();
- this.term.set(evt.target.searchTerm.value);
+ return [
+ {
+ 'submit .js-search-term-form'(evt) {
+ evt.preventDefault();
+ this.term.set(evt.target.searchTerm.value);
+ },
},
- }];
+ ];
},
}).register('searchSidebar');