File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed
Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -822,18 +822,16 @@ $.widget("ui.selectmenu", {
822822 var _offset = "0 -" + ( selected . outerHeight ( ) + selected . offset ( ) . top - this . list . offset ( ) . top ) ;
823823 }
824824 // update zIndex if jQuery UI is able to process
825- var zIndexElement = this . element . zIndex ( ) ;
826- if ( zIndexElement ) {
827- this . listWrap . css ( 'zIndex' , zIndexElement ) ;
828- }
829- this . listWrap . position ( {
830- // set options for position plugin
831- of : o . positionOptions . of || this . newelement ,
832- my : o . positionOptions . my ,
833- at : o . positionOptions . at ,
834- offset : o . positionOptions . offset || _offset ,
835- collision : o . positionOptions . collision || 'flip'
836- } ) ;
825+ this . listWrap
826+ . zIndex ( this . element . zIndex ( ) + 1 )
827+ . position ( {
828+ // set options for position plugin
829+ of : o . positionOptions . of || this . newelement ,
830+ my : o . positionOptions . my ,
831+ at : o . positionOptions . at ,
832+ offset : o . positionOptions . offset || _offset ,
833+ collision : o . positionOptions . collision || 'flip'
834+ } ) ;
837835 }
838836} ) ;
839837
You can’t perform that action at this time.
0 commit comments