From 745aa7201cd7bd860c3bca0fa17d16ef8a56ea5e Mon Sep 17 00:00:00 2001 From: filmaj Date: Tue, 24 Aug 2010 14:59:02 -0700 Subject: [PATCH] For some reason have to check typeof? --- framework/assets/js/phonegap.js.base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/assets/js/phonegap.js.base b/framework/assets/js/phonegap.js.base index 25b25e68..09ece30f 100755 --- a/framework/assets/js/phonegap.js.base +++ b/framework/assets/js/phonegap.js.base @@ -152,7 +152,7 @@ PhoneGap.onNativeReady = new PhoneGap.Channel(); // _nativeReady is global variable that the native side can set // to signify that the native code is ready. It is a global since // it may be called before any PhoneGap JS is ready. -if (_nativeReady) { PhoneGap.onNativeReady.fire(); } +if (typeof _nativeReady != "undefined") { PhoneGap.onNativeReady.fire(); } /** * onDeviceReady is fired only after both onDOMContentLoaded and