Open woelfchen opened 10 years ago
If I update document.title before history.pushState, then the google chrome history entry have the title of the page before and not the new title.
I think it is the problem of this code in pushState function: if (lastTitle != null) { document.title = lastTitle; }
I think the problem is not lastTitle. document.title = t; in pushState function must set before pushState will executed. This is a problem of chrome.
If I update document.title before history.pushState, then the google chrome history entry have the title of the page before and not the new title.
I think it is the problem of this code in pushState function: if (lastTitle != null) { document.title = lastTitle; }