File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -492,9 +492,9 @@ $.widget("ui.selectmenu", {
492
492
493
493
open : function ( event ) {
494
494
var self = this ;
495
- var disabledStatus = this . newelement . attr ( "aria-disabled" ) ;
496
- if ( disabledStatus != 'true' ) {
497
- this . _refreshPosition ( ) ;
495
+ if ( this . newelement . attr ( "aria-disabled" ) != 'true' ) {
496
+ // TODO: seems to be useless
497
+ // this._refreshPosition();
498
498
this . _closeOthers ( event ) ;
499
499
this . newelement
500
500
. addClass ( 'ui-state-active' ) ;
@@ -678,6 +678,7 @@ $.widget("ui.selectmenu", {
678
678
679
679
_refreshPosition : function ( ) {
680
680
var o = this . options ;
681
+ console . log ( "_refreshPosition" ) ;
681
682
// if its a native pop-up we need to calculate the position of the selected li
682
683
if ( o . style == "popup" && ! o . positionOptions . offset ) {
683
684
var selected = this . _selectedOptionLi ( ) ;
You can’t perform that action at this time.
0 commit comments