mirror of https://github.com/calzoneman/sync.git
Fix ACP
This commit is contained in:
parent
15085fc6ae
commit
b2900afb3b
|
@ -37,8 +37,12 @@ var CHANNEL = {
|
||||||
var PLAYER = false;
|
var PLAYER = false;
|
||||||
var VIDEOQUALITY = false;
|
var VIDEOQUALITY = false;
|
||||||
var FLUIDLAYOUT = false;
|
var FLUIDLAYOUT = false;
|
||||||
var VWIDTH = $("#videowidth").css("width").replace("px", "");
|
var VWIDTH;
|
||||||
var VHEIGHT = ""+parseInt(parseInt(VWIDTH) * 9 / 16);
|
var VHEIGHT;
|
||||||
|
if($("#videowidth").length > 0) {
|
||||||
|
VWIDTH = $("#videowidth").css("width").replace("px", "");
|
||||||
|
VHEIGHT = ""+parseInt(parseInt(VWIDTH) * 9 / 16);
|
||||||
|
}
|
||||||
var MEDIA = { hash: "" };
|
var MEDIA = { hash: "" };
|
||||||
var PL_MOVING = false;
|
var PL_MOVING = false;
|
||||||
var PL_ADDING = false;
|
var PL_ADDING = false;
|
||||||
|
|
Loading…
Reference in New Issue