mirror of https://github.com/calzoneman/sync.git
Remove video box if the novideo param is defined
This commit is contained in:
parent
18d599a7aa
commit
f4c044c4be
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue