mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-01 02:12:58 +08:00
Don't override history.back since jQuery also does it.
This commit is contained in:
parent
1377f60b29
commit
fe3e7041b7
@ -99,8 +99,6 @@ App.prototype.addWhiteListEntry = function(origin, subdomains) {
|
|||||||
|
|
||||||
PhoneGap.addConstructor(function() {
|
PhoneGap.addConstructor(function() {
|
||||||
navigator.app = new App();
|
navigator.app = new App();
|
||||||
navigator.app.origHistoryBack = window.history.back;
|
|
||||||
window.history.back = navigator.app.backHistory;
|
|
||||||
});
|
});
|
||||||
}());
|
}());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user