From f4c044c4be0c1b81c623a27eea3bb3e35b93c52b Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sun, 17 Mar 2013 14:47:32 -0500 Subject: [PATCH] Remove video box if the novideo param is defined --- www/assets/js/client.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/assets/js/client.js b/www/assets/js/client.js index de1f093c..ee9265e7 100644 --- a/www/assets/js/client.js +++ b/www/assets/js/client.js @@ -38,6 +38,10 @@ if(window.location.search) { } } +if(params['novideo'] != undefined) { + $('.span7').remove(); +} + if(params['channel'] == undefined) { var main = $($('.container')[1]); var container = $('
').addClass('container').insertBefore(main);