Permalink
Browse files

Panel: changed event listener. Fixed #5480 - Panel should close after…

…, and not during, page animation
  • Loading branch information...
jhogervorst committed Jan 17, 2013
1 parent 0ed13fe commit 4366bcbf3c9b6abe93403bc15a5c96ea12e335bd
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/panel.js
View
@@ -230,7 +230,7 @@ $.widget( "mobile.panel", $.mobile.widget, {
}
})
// clean up open panels after page hide
.on( "pagebeforehide", function( e ) {
.on( "pagehide", function( e ) {
if ( self._open ) {
self.close( true );
}

0 comments on commit 4366bcb

Please sign in to comment.