From 60bcd54c60f3e4ac5cfecd489580063cbcc04ff7 Mon Sep 17 00:00:00 2001 From: sanj Date: Fri, 5 Nov 2010 02:17:16 +0530 Subject: [PATCH] silly fix --- vurbanism/static/js/vurbanism.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vurbanism/static/js/vurbanism.js b/vurbanism/static/js/vurbanism.js index 4aa455d..b6462b4 100644 --- a/vurbanism/static/js/vurbanism.js +++ b/vurbanism/static/js/vurbanism.js @@ -79,9 +79,9 @@ function onFeatureSelect(f) { // $('img').removeClass('mapSelect'); var $img = $('[data-id=' + id + ']'); - //ugly if statement. + //FIXME: ugly if statement - either make it an option to highlight or not somewhere else, or make the code generic to highlight text as well - current way is plain wrong. if ($img.hasClass('textWrapper')) { - return; + return true; } var offset = $img.find('img').offset(); var height = $img.find('img').height();