File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1418,7 +1418,10 @@ the specific language governing permissions and limitations under the Apache Lic
14181418 var def ; // default choice
14191419
14201420 // ignore a response if the select2 has been closed before it was received
1421- if ( ! this . opened ( ) ) return ;
1421+ if ( ! this . opened ( ) ) {
1422+ this . search . removeClass ( "select2-active" ) ;
1423+ return ;
1424+ }
14221425
14231426 // save context, if any
14241427 this . context = ( data . context === undefined ) ? null : data . context ;
@@ -2308,6 +2311,7 @@ the specific language governing permissions and limitations under the Apache Lic
23082311 self . postprocessResults ( ) ;
23092312 } ,
23102313
2314+ // multi
23112315 tokenize : function ( ) {
23122316 var input = this . search . val ( ) ;
23132317 input = this . opts . tokenizer ( input , this . data ( ) , this . bind ( this . onSelect ) , this . opts ) ;
You can’t perform that action at this time.
0 commit comments