Fix broken selector causing issues
This commit is contained in:
parent
7bb38ec8a5
commit
9038238936
|
@ -34,7 +34,7 @@ var CHANNEL = {
|
||||||
|
|
||||||
var PLAYER = false;
|
var PLAYER = false;
|
||||||
var FLUIDLAYOUT = false;
|
var FLUIDLAYOUT = false;
|
||||||
if($("ytapiplayer").length > 0) {
|
if($("#ytapiplayer").length > 0) {
|
||||||
var VWIDTH = $("#ytapiplayer").parent().css("width").replace("px", "");
|
var VWIDTH = $("#ytapiplayer").parent().css("width").replace("px", "");
|
||||||
var VHEIGHT = ""+parseInt(parseInt(VWIDTH) * 9 / 16);
|
var VHEIGHT = ""+parseInt(parseInt(VWIDTH) * 9 / 16);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue