@@ -84,7 +84,7 @@ define( [ "jquery",
84
84
}
85
85
} ,
86
86
87
- _maybeRefreshTimeout : function ( ) {
87
+ _expectResizeEvent : function ( ) {
88
88
var winCoords = windowCoords ( ) ;
89
89
90
90
if ( this . _resizeData ) {
@@ -110,7 +110,7 @@ define( [ "jquery",
110
110
111
111
_resizeTimeout : function ( ) {
112
112
if ( this . _isOpen ) {
113
- if ( ! this . _maybeRefreshTimeout ( ) ) {
113
+ if ( ! this . _expectResizeEvent ( ) ) {
114
114
if ( this . _ui . container . hasClass ( "ui-selectmenu-hidden" ) ) {
115
115
// effectively rapid-open the popup while leaving the screen intact
116
116
this . _trigger ( "beforeposition" ) ;
@@ -131,7 +131,7 @@ define( [ "jquery",
131
131
132
132
_handleWindowResize : function ( e ) {
133
133
if ( this . _isOpen ) {
134
- if ( ( this . _maybeRefreshTimeout ( ) || this . _orientationchangeInProgress ) &&
134
+ if ( ( this . _expectResizeEvent ( ) || this . _orientationchangeInProgress ) &&
135
135
! this . _ui . container . hasClass ( "ui-selectmenu-hidden" ) ) {
136
136
// effectively rapid-close the popup while leaving the screen intact
137
137
this . _ui . container
@@ -143,7 +143,7 @@ define( [ "jquery",
143
143
144
144
_handleWindowOrientationchange : function ( e ) {
145
145
if ( ! this . _orientationchangeInProgress && this . _isOpen ) {
146
- this . _maybeRefreshTimeout ( ) ;
146
+ this . _expectResizeEvent ( ) ;
147
147
this . _orientationchangeInProgress = true ;
148
148
}
149
149
} ,
@@ -525,7 +525,7 @@ define( [ "jquery",
525
525
// the "blue flash" of element focus in android 4.0
526
526
setTimeout ( function ( ) {
527
527
self . _ui . container . attr ( "tabindex" , "0" ) . focus ( ) ;
528
- self . _maybeRefreshTimeout ( ) ;
528
+ self . _expectResizeEvent ( ) ;
529
529
self . _trigger ( "afteropen" ) ;
530
530
} ) ;
531
531
} ,
0 commit comments