@@ -84,7 +84,7 @@ define( [ "jquery",
8484 }
8585 } ,
8686
87- _maybeRefreshTimeout : function ( ) {
87+ _expectResizeEvent : function ( ) {
8888 var winCoords = windowCoords ( ) ;
8989
9090 if ( this . _resizeData ) {
@@ -110,7 +110,7 @@ define( [ "jquery",
110110
111111 _resizeTimeout : function ( ) {
112112 if ( this . _isOpen ) {
113- if ( ! this . _maybeRefreshTimeout ( ) ) {
113+ if ( ! this . _expectResizeEvent ( ) ) {
114114 if ( this . _ui . container . hasClass ( "ui-selectmenu-hidden" ) ) {
115115 // effectively rapid-open the popup while leaving the screen intact
116116 this . _trigger ( "beforeposition" ) ;
@@ -131,7 +131,7 @@ define( [ "jquery",
131131
132132 _handleWindowResize : function ( e ) {
133133 if ( this . _isOpen ) {
134- if ( ( this . _maybeRefreshTimeout ( ) || this . _orientationchangeInProgress ) &&
134+ if ( ( this . _expectResizeEvent ( ) || this . _orientationchangeInProgress ) &&
135135 ! this . _ui . container . hasClass ( "ui-selectmenu-hidden" ) ) {
136136 // effectively rapid-close the popup while leaving the screen intact
137137 this . _ui . container
@@ -143,7 +143,7 @@ define( [ "jquery",
143143
144144 _handleWindowOrientationchange : function ( e ) {
145145 if ( ! this . _orientationchangeInProgress && this . _isOpen ) {
146- this . _maybeRefreshTimeout ( ) ;
146+ this . _expectResizeEvent ( ) ;
147147 this . _orientationchangeInProgress = true ;
148148 }
149149 } ,
@@ -525,7 +525,7 @@ define( [ "jquery",
525525 // the "blue flash" of element focus in android 4.0
526526 setTimeout ( function ( ) {
527527 self . _ui . container . attr ( "tabindex" , "0" ) . focus ( ) ;
528- self . _maybeRefreshTimeout ( ) ;
528+ self . _expectResizeEvent ( ) ;
529529 self . _trigger ( "afteropen" ) ;
530530 } ) ;
531531 } ,
0 commit comments