File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 359359 query . callback ( { results : data } ) ;
360360 return ;
361361 }
362-
362+
363363 process = function ( datum , collection ) {
364364 var group ;
365365 datum = datum [ 0 ] ;
375375 }
376376 }
377377 } ;
378-
378+
379379 $ ( data ) . each2 ( function ( i , datum ) { process ( datum , filtered . results ) ; } ) ;
380380 query . callback ( filtered ) ;
381381 } ;
967967
968968 if ( this . search . val ( ) === " " ) { this . search . val ( "" ) ; }
969969
970- this . dropdown . css ( evaluate ( this . opts . dropdownCss ) ) ;
971- this . dropdown . addClass ( "select2-drop-active" ) ;
972970 this . container . addClass ( "select2-dropdown-open" ) . addClass ( "select2-container-active" ) ;
973971
974972 this . updateResults ( true ) ;
978976 }
979977
980978 this . dropdown . show ( ) ;
981- this . ensureHighlightVisible ( ) ;
982979
983980 this . positionDropdown ( ) ;
981+ this . dropdown . css ( evaluate ( this . opts . dropdownCss ) ) ;
982+ this . dropdown . addClass ( "select2-drop-active" ) ;
983+
984+ this . ensureHighlightVisible ( ) ;
984985
985986 this . focusSearch ( ) ;
986987 } ,
You can’t perform that action at this time.
0 commit comments