From 22504c76136a2436dc1ddac9fc55c8bb7dc375bd Mon Sep 17 00:00:00 2001 From: John Bender Date: Wed, 4 Jan 2012 13:14:43 -0800 Subject: [PATCH] switch to explicit false check to avoid undefined issues --- js/jquery.mobile.page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.page.js b/js/jquery.mobile.page.js index 534ec1f8..b44af7d0 100644 --- a/js/jquery.mobile.page.js +++ b/js/jquery.mobile.page.js @@ -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; }