Fix broken selector causing issues

This commit is contained in:
Calvin Montgomery 2013-06-20 22:51:50 -04:00
parent 7bb38ec8a5
commit 9038238936
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}