remove console.log, make minuser a var
This commit is contained in:
parent
40941dd078
commit
27cc94c1a9
|
@ -5,7 +5,8 @@ $(function() {
|
|||
padmaContainer.data("currentVideo", false);
|
||||
function resize() {
|
||||
var docWidth = $(document).width();
|
||||
var essayWidth = docWidth - 650;
|
||||
var minuser = $('#leftBar').length > 0 ? 650 : 400;
|
||||
var essayWidth = docWidth - minuser;
|
||||
$('#essayWrapper').css("width", essayWidth);
|
||||
}
|
||||
resize();
|
||||
|
@ -20,11 +21,10 @@ function setupPadmaLink(videoObj, data) {
|
|||
if (!$.inArray(data.linkData.type, ["info", "editor", "tc", "tcRange"])) {
|
||||
return false;
|
||||
}
|
||||
console.log(data.linkData);
|
||||
// console.log(data.linkData);
|
||||
if (data.linkData.type == 'info' || data.linkData.type == 'editor' || data.linkData.type == "tc") {
|
||||
data.linkData.tcIn = ms2npt(0);
|
||||
data.linkData.tcOut = ms2npt(videoObj.video.duration);
|
||||
|
||||
data.linkData.type = "tcRange";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user