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:
parent
220cf5dba8
commit
0391ce032e
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user