fix createLinks

This commit is contained in:
rolux 2014-11-20 21:25:04 +00:00
parent 8cb557738b
commit 93b3d73398

View file

@ -299,7 +299,8 @@ pandora.createLinks = function($element) {
if ($target.is('a') or $target == $element) { if ($target.is('a') or $target == $element) {
break; break;
} }
$target = $($target.parent()); e.target = e.target.parent();
$target = $(e.target);
} }
if ( if (
$target.is('a') $target.is('a')