-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Description
Hi. In Android 4.0.3 on Android Browser is not support property history.state. Information from here

Not everything that supports methods history.replaceState and history.pushState, has a property history.state support.
Can you fix it ? You can make it using this code.
if (typeof window.history.state == 'undefined') {
var originReplace = history.replaceState;
window.history.replaceState = function(state, title, path) {
window.history.state = state;
originReplace.call(window.history, state, title, path);
};
var originPush = window.history.pushState;
window.history.pushState = function(state, title, path) {
window.history.state = state;
originPush.call(window.history, state, title, path);
};
}
Thanks.
Metadata
Metadata
Assignees
Labels
No labels