From b59ca41cb1d4c4cda54aa0c3d25174a0b4003953 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 28 Apr 2013 14:54:10 -0400 Subject: Fix JS error in viggle.js --- public/javascripts/viggle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/javascripts/viggle.js b/public/javascripts/viggle.js index 87a84da..5d068d1 100644 --- a/public/javascripts/viggle.js +++ b/public/javascripts/viggle.js @@ -6,14 +6,14 @@ var showInfo = JSON.parse(message); if (showInfo.status !== 'success') { VAPP.showModal(function(message) {}, 'Oops ...', null, 'Unable to get show info.', 'Please try again.', false); - return; + return; } // Name of the current show var showName = showInfo.data.program_data.program_title; VAPP.setTitleBarSubTitle(function(message) {}, showName); - } + }); } document.addEventListener('VAPPReady', onBridgeIsReady, true); -- cgit v1.2.3