HTML5-History-API
HTML5-History-API copied to clipboard
title of chrome history is not correct
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.