From 9eb57ac02eb612de862474731711ac5143d93a56 Mon Sep 17 00:00:00 2001 From: Mischa Spelt Date: Tue, 16 Jun 2020 21:43:44 +0200 Subject: [PATCH] .toggle met echte boolean voor studiocam link --- resources/views/layouts/master.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php index 49315280..32be272c 100644 --- a/resources/views/layouts/master.blade.php +++ b/resources/views/layouts/master.blade.php @@ -449,7 +449,7 @@ $nowPlaying.title.text(data.current.title).attr('title', data.current.title); $nowPlaying.artist.text(data.current.artist).attr('title', data.current.artist); } - $nowPlaying.studiocam.toggle(data.stream); + $nowPlaying.studiocam.toggle(data.stream != false); $nowPlaying.programLink.attr('href', '{{route("programma")}}' + data.program.url); if($nowPlaying.first) { $nowPlaying.controls.hide(); } $nowPlaying.container.slideDown(function() {