attempt at fixing silliness with texts trying to highlight themselves
This commit is contained in:
parent
9dd5598ed1
commit
7ebab72ff2
|
@ -78,6 +78,11 @@ function onFeatureSelect(f) {
|
|||
$('.highlightOverlay').hide().remove();
|
||||
// $('img').removeClass('mapSelect');
|
||||
var $img = $('[data-id=' + id + ']');
|
||||
|
||||
//ugly if statement.
|
||||
if ($img.hasClass('textWrapper')) {
|
||||
return;
|
||||
}
|
||||
var offset = $img.find('img').offset();
|
||||
var height = $img.find('img').height();
|
||||
var width = $img.find('img').width();
|
||||
|
|
Loading…
Reference in New Issue
Block a user