File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 211
211
var parentScrollTop = parentScrollable . scrollTop ( ) ;
212
212
if ( parentScrollable . height ( ) + parentTop <= ( pos . top + elemUL . outerHeight ( ) + ( 15 ) - parentScrollTop ) ) {
213
213
elemUL . css ( {
214
- 'top' : 'auto' ,
215
- 'bottom' : '0 '
214
+ 'top' : $this . prev ( '.select-skinned-text' ) . children ( '.select-skinned-cont' ) . height ( ) ,
215
+ 'bottom' : 'auto '
216
216
} ) ;
217
217
} else {
218
218
elemUL . css ( {
219
- 'top' : $this . prev ( '.select-skinned-text' ) . children ( '.select-skinned-cont' ) . height ( ) ,
220
- 'bottom' : 'auto '
219
+ 'top' : 'auto' ,
220
+ 'bottom' : '0 '
221
221
} ) ;
222
222
}
223
223
if ( parentScrollable . width ( ) + parentLeft <= ( pos . left + elemUL . outerWidth ( ) ) ) {
286
286
}
287
287
}
288
288
} ) ;
289
- skin . selectskinned ( element ) ;
289
+ if ( $ ( element ) . parent ( ) . is ( '.select-skinned' ) ) { } else {
290
+ skin . selectskinned ( element ) ;
291
+ }
290
292
return this ;
291
293
} ;
292
294
// e.g.
You can’t perform that action at this time.
0 commit comments