4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-14 21:26:37 +00:00

Fix for embed modes where Fancybox is not enabled.

This commit is contained in:
Buster Neece 2014-06-09 13:43:39 -05:00
parent 220cf5dba8
commit 0391ce032e

View File

@ -70,7 +70,7 @@ function showSongInfo(song_id)
var info_url = '/song/index/id/'+song_id;
// Detect iframe.
if (window!=window.top)
if (window!=window.top || !$.fn.fancybox)
{
window.open(info_url,'PVLSongInfo','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=500,width=600');
}