mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-23 01:10:25 +00:00
switch to explicit false check to avoid undefined issues
This commit is contained in:
parent
b47d9ba24e
commit
22504c7613
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ $.widget( "mobile.page", $.mobile.widget, {
|
|||
_create: function() {
|
||||
|
||||
// if false is returned by the callbacks do not create the page
|
||||
if( !this._trigger( "beforecreate" ) ){
|
||||
if( this._trigger( "beforecreate" ) === false ){
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue