From 0cab539f8a4ec71f69a14058040ecc00eb043a14 Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 24 Mar 2011 21:36:14 -0400 Subject: [PATCH] -No ticket: Fixed recording light on, even after record show ended. --- public/js/playlist/playlist.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/js/playlist/playlist.js b/public/js/playlist/playlist.js index 98b227381..a72e94dc2 100644 --- a/public/js/playlist/playlist.js +++ b/public/js/playlist/playlist.js @@ -165,11 +165,12 @@ function updatePlaybar(){ /* Column 1 update */ $('#playlist').text("Current Show:"); + var recElem = $('.recording-show'); if (currentShow.length > 0){ $('#playlist').text(currentShow[0].name); - - var recElem = $('.recording-show'); (currentShow[0].record == "1") ? recElem.show(): recElem.hide(); + } else { + recElem.hide(); } $('#show-length').empty();