File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,8 +111,6 @@ define([
111111 } ;
112112
113113 Tags . prototype . _removeOldTags = function ( _ ) {
114- var tag = this . _lastTag ;
115-
116114 var $options = this . $element . find ( 'option[data-select2-tag]' ) ;
117115
118116 $options . each ( function ( ) {
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ define([
3939 BaseSelection . prototype . bind = function ( container , $container ) {
4040 var self = this ;
4141
42- var id = container . id + '-container' ;
4342 var resultsId = container . id + '-results' ;
4443
4544 this . container = container ;
@@ -117,7 +116,6 @@ define([
117116 } ;
118117
119118 BaseSelection . prototype . _attachCloseHandler = function ( container ) {
120- var self = this ;
121119
122120 $ ( document . body ) . on ( 'mousedown.select2.' + container . id , function ( e ) {
123121 var $target = $ ( e . target ) ;
@@ -127,8 +125,6 @@ define([
127125 var $all = $ ( '.select2.select2-container--open' ) ;
128126
129127 $all . each ( function ( ) {
130- var $this = $ ( this ) ;
131-
132128 if ( this == $select [ 0 ] ) {
133129 return ;
134130 }
You can’t perform that action at this time.
0 commit comments