From baa6d5cd49904e38542e46b937e4fef96338deca Mon Sep 17 00:00:00 2001 From: sanj Date: Sun, 14 Nov 2010 00:37:59 +0530 Subject: [PATCH] tmp fix for tcRange bug --- padmaTexts/static/js/text.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/padmaTexts/static/js/text.js b/padmaTexts/static/js/text.js index b0ca8a0..4a9d26a 100644 --- a/padmaTexts/static/js/text.js +++ b/padmaTexts/static/js/text.js @@ -12,7 +12,9 @@ function setupPadmaLink(videoObj, data) { var $a = $(data.jq); // $a.data("isDisplayed", false); var linkData = data.linkData; - + if (linkData.type != 'tcRange') { + return false; + } //FIXME: put this as a variable, option somewhere? var $container = padmaContainer; videoObj.currentLayers = [];