Remove video box if the novideo param is defined

This commit is contained in:
calzoneman 2013-03-17 14:47:32 -05:00
parent 18d599a7aa
commit f4c044c4be
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,10 @@ if(window.location.search) {
} }
} }
if(params['novideo'] != undefined) {
$('.span7').remove();
}
if(params['channel'] == undefined) { if(params['channel'] == undefined) {
var main = $($('.container')[1]); var main = $($('.container')[1]);
var container = $('<div/>').addClass('container').insertBefore(main); var container = $('<div/>').addClass('container').insertBefore(main);