Skip to content

Commit

Permalink
Reverted a line in base.js regarding tab index.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadim Afana committed May 6, 2016
1 parent 7629826 commit 95b1f8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/select2/selection/base.js
Expand Up @@ -23,8 +23,8 @@ define([

if (Utils.GetData(this.$element[0], 'old-tabindex') != null) {
this._tabindex = Utils.GetData(this.$element[0], 'old-tabindex');
} else if (Utils.GetData(this.$element[0], 'tabindex') != null) {
this._tabindex = Utils.GetData(this.$element[0], 'tabindex');
} else if (this.$element.attr('tabindex') != null) {
this._tabindex = this.$element.attr('tabindex');
}

$selection.attr('title', this.$element.attr('title'));
Expand Down

0 comments on commit 95b1f8b

Please sign in to comment.