vendor/assets/javascripts/select2-full.js in select2-rails-4.0.4 vs vendor/assets/javascripts/select2-full.js in select2-rails-4.0.5
- old
+ new
@@ -1,7 +1,7 @@
/*!
- * Select2 4.0.4
+ * Select2 4.0.5
* https://select2.github.io
*
* Released under the MIT license
* https://github.com/select2/select2/blob/master/LICENSE.md
*/
@@ -1853,11 +1853,11 @@
Search.prototype.render = function (decorated) {
var $search = $(
'<li class="select2-search select2-search--inline">' +
'<input class="select2-search__field" type="search" tabindex="-1"' +
- ' autocomplete="off" autocorrect="off" autocapitalize="off"' +
+ ' autocomplete="off" autocorrect="off" autocapitalize="none"' +
' spellcheck="false" role="textbox" aria-autocomplete="list" />' +
'</li>'
);
this.$searchContainer = $search;
@@ -3907,10 +3907,10 @@
var $rendered = decorated.call(this);
var $search = $(
'<span class="select2-search select2-search--dropdown">' +
'<input class="select2-search__field" type="search" tabindex="-1"' +
- ' autocomplete="off" autocorrect="off" autocapitalize="off"' +
+ ' autocomplete="off" autocorrect="off" autocapitalize="none"' +
' spellcheck="false" role="textbox" />' +
'</span>'
);
this.$searchContainer = $search;