Fix for a merge problem

This commit is contained in:
Dave Johnson 2010-08-25 15:12:23 -07:00
parent ae800455b1
commit b01668d262

View File

@ -208,7 +208,7 @@ PhoneGap._document_addEventListener = document.addEventListener;
document.addEventListener = function(evt, handler, capture) { document.addEventListener = function(evt, handler, capture) {
if (evt.toLowerCase() == 'deviceready') { if (evt.toLowerCase() == 'deviceready') {
PhoneGap.onDeviceReady.sob(handler); PhoneGap.onDeviceReady.subscribeOnce(handler);
} else { } else {
PhoneGap._document_addEventListener.call(document, evt, handler); PhoneGap._document_addEventListener.call(document, evt, handler);
} }