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