Attempt to fix the HTML 5 storage

This commit is contained in:
Joe Bowser 2010-05-14 15:49:14 -07:00
parent 9c1a1207bb
commit a179fbd095

View File

@ -80,10 +80,10 @@ var dbSetup = function(name, version, display_name, size)
}
PhoneGap.addConstructor(function() {
if (typeof navigator.openDatabase == "undefined")
if (typeof window.openDatabase == "undefined")
{
navigator.openDatabase = window.openDatabase = dbSetup;
window.droiddb = new DroidDB();
window.droiddb = new DroidDB();
}
});