Skip to content

Commit

Permalink
Remove the dist files from the PR.
Browse files Browse the repository at this point in the history
  • Loading branch information
adityatoshniwal committed Apr 20, 2020
1 parent d9aa34e commit 1e67e9f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
4 changes: 1 addition & 3 deletions src/js/select2/dropdown/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ define([
Search.prototype.render = function (decorated) {
var $rendered = decorated.call(this);

var searchLabel = this.options.get('translations').get('search')();
var $search = $(
'<span class="select2-search select2-search--dropdown">' +
'<input class="select2-search__field" type="search" tabindex="-1"' +
' autocomplete="off" autocorrect="off" autocapitalize="none"' +
' spellcheck="false" role="searchbox" aria-autocomplete="list" ' +
' aria-label="' + searchLabel +'"/>' +
' spellcheck="false" role="searchbox" aria-autocomplete="list" />' +
'</span>'
);

Expand Down
3 changes: 0 additions & 3 deletions src/js/select2/i18n/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ define(function () {
},
removeAllItems: function () {
return 'Remove all items';
},
search: function() {
return 'Search';
}
};
});
3 changes: 1 addition & 2 deletions tests/options/translation-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ test(
'maximumSelected',
'noResults',
'searching',
'removeAllItems',
'search'
'removeAllItems'
]
);
}
Expand Down

0 comments on commit 1e67e9f

Please sign in to comment.