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

View file

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