@@ -87,7 +87,7 @@ define( [ "jquery",
87
87
}
88
88
} ,
89
89
90
- _maybeRefreshTimeout : function ( ) {
90
+ _expectResizeEvent : function ( ) {
91
91
var winCoords = windowCoords ( ) ;
92
92
93
93
if ( this . _resizeData ) {
@@ -113,7 +113,7 @@ define( [ "jquery",
113
113
114
114
_resizeTimeout : function ( ) {
115
115
if ( this . _isOpen ) {
116
- if ( ! this . _maybeRefreshTimeout ( ) ) {
116
+ if ( ! this . _expectResizeEvent ( ) ) {
117
117
if ( this . _ui . container . hasClass ( "ui-selectmenu-hidden" ) ) {
118
118
// effectively rapid-open the popup while leaving the screen intact
119
119
this . _trigger ( "beforeposition" ) ;
@@ -134,7 +134,7 @@ define( [ "jquery",
134
134
135
135
_handleWindowResize : function ( e ) {
136
136
if ( this . _isOpen ) {
137
- if ( ( this . _maybeRefreshTimeout ( ) || this . _orientationchangeInProgress ) &&
137
+ if ( ( this . _expectResizeEvent ( ) || this . _orientationchangeInProgress ) &&
138
138
! this . _ui . container . hasClass ( "ui-selectmenu-hidden" ) ) {
139
139
// effectively rapid-close the popup while leaving the screen intact
140
140
this . _ui . container
@@ -146,7 +146,7 @@ define( [ "jquery",
146
146
147
147
_handleWindowOrientationchange : function ( e ) {
148
148
if ( ! this . _orientationchangeInProgress && this . _isOpen ) {
149
- this . _maybeRefreshTimeout ( ) ;
149
+ this . _expectResizeEvent ( ) ;
150
150
this . _orientationchangeInProgress = true ;
151
151
}
152
152
} ,
@@ -525,7 +525,7 @@ define( [ "jquery",
525
525
526
526
_completeOpen : function ( ) {
527
527
this . _ui . container . attr ( "tabindex" , "0" ) . focus ( ) ;
528
- this . _maybeRefreshTimeout ( ) ;
528
+ this . _expectResizeEvent ( ) ;
529
529
this . _trigger ( "afteropen" ) ;
530
530
} ,
531
531
0 commit comments