typo
This commit is contained in:
parent
824cf1ff07
commit
3eb83567b5
2 changed files with 2 additions and 2 deletions
|
@ -379,7 +379,7 @@ pandora.URL = (function() {
|
|||
}
|
||||
if (e.state && !Ox.isEmpty(e.state)) {
|
||||
Ox.Log('URL', 'E.STATE', e.state)
|
||||
document.title = e.state.title;
|
||||
document.title = Ox.decodeHTMLEntities(e.state.title);
|
||||
setState(e.state);
|
||||
} else if (window.location.pathname == '/') {
|
||||
pandora.$ui.home = pandora.ui.home().fadeInScreen();
|
||||
|
|
|
@ -29,7 +29,7 @@ pandora.ui.item = function() {
|
|||
if (result.status.code == 200) {
|
||||
// we want to cache the title in any way, so that after closing
|
||||
// a dialog and getting to this item, the title is correct
|
||||
var documentTitle = pandora.getDocumentTitle(Ox.decodeHtml(result.data.title));
|
||||
var documentTitle = pandora.getDocumentTitle(Ox.decodeHTMLEntities(result.data.title));
|
||||
document.title = pandora.getPageTitle(document.location.pathname) || documentTitle;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue