1
0
Fork 0
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:
Afterster 2013-11-20 22:17:51 +01:00
parent 78c889f4b3
commit 3d0ab4eaec

View file

@ -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;