Skip to content

Commit 28fd93b

Browse files
committed
Cleanup
1 parent 8790a3c commit 28fd93b

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

scripts/app/views/ToolbarSearchView.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
define(['backbone', 'jquery', 'modules/Locale', ], function (BB, $, Locale) {
1+
define(['backbone', 'modules/Locale'], function (BB, Locale) {
22
return BB.View.extend({
33
tagName: 'input',
44
className: 'input-search',
@@ -9,19 +9,8 @@ define(['backbone', 'jquery', 'modules/Locale', ], function (BB, $, Locale) {
99
this.el.setAttribute('tabindex', -1);
1010
this.el.required = true;
1111

12-
13-
1412
const action = app.actions.get(this.model.get('actionName'));
1513

16-
// const newEl = $('<input type="search" required class="input-search" />');
17-
// this.$el.replaceWith(newEl);
18-
// this.$el = newEl;
19-
//
20-
//
21-
// this.$el.attr('placeholder', Locale.SEARCH);
22-
// this.$el.attr('tabindex', -1);
23-
// this.el = this.$el.get(0);
24-
2514
this.el.dataset.action = this.model.get('actionName');
2615
this.el.title = action.get('title');
2716

0 commit comments

Comments
 (0)