mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
Reset page title when show song title in page title and iframes activated
This commit is contained in:
parent
78c889f4b3
commit
3d0ab4eaec
1 changed files with 5 additions and 0 deletions
|
@ -213,6 +213,11 @@ function ExitPlayer()
|
|||
ff.setAttribute('class', 'frame_footer_hide');
|
||||
|
||||
maindiv.style.height = parent.parent.innerHeight + "px";
|
||||
<?php
|
||||
if (Config::get('song_page_title') && $iframed) {
|
||||
echo "window.parent.document.title = '" . addslashes(Config::get('site_title')) . "';";
|
||||
}
|
||||
?>
|
||||
}
|
||||
ff.setAttribute('src', '');
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue