Reverted a line in base.js regarding tab index.
This commit is contained in:
parent
76298267f9
commit
95b1f8b409
4
src/js/select2/selection/base.js
vendored
4
src/js/select2/selection/base.js
vendored
@ -23,8 +23,8 @@ define([
|
|||||||
|
|
||||||
if (Utils.GetData(this.$element[0], 'old-tabindex') != null) {
|
if (Utils.GetData(this.$element[0], 'old-tabindex') != null) {
|
||||||
this._tabindex = Utils.GetData(this.$element[0], 'old-tabindex');
|
this._tabindex = Utils.GetData(this.$element[0], 'old-tabindex');
|
||||||
} else if (Utils.GetData(this.$element[0], 'tabindex') != null) {
|
} else if (this.$element.attr('tabindex') != null) {
|
||||||
this._tabindex = Utils.GetData(this.$element[0], 'tabindex');
|
this._tabindex = this.$element.attr('tabindex');
|
||||||
}
|
}
|
||||||
|
|
||||||
$selection.attr('title', this.$element.attr('title'));
|
$selection.attr('title', this.$element.attr('title'));
|
||||||
|
Loading…
Reference in New Issue
Block a user