mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 12:03:28 +08:00
Fixing issue with addEventListener and Sencha
This commit is contained in:
parent
48d3bc09f3
commit
e117b95057
@ -286,7 +286,7 @@ document.addEventListener = function(evt, handler, capture) {
|
|||||||
} else if (e == 'pause') {
|
} else if (e == 'pause') {
|
||||||
PhoneGap.onPause.subscribe(handler);
|
PhoneGap.onPause.subscribe(handler);
|
||||||
} else {
|
} else {
|
||||||
PhoneGap.m_document_addEventListener.call(document, evt, handler);
|
PhoneGap.m_document_addEventListener.call(document, evt, handler, capture);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user