From 93b3d73398f01263d4004ad0c916ee9cc5634b76 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 20 Nov 2014 21:25:04 +0000 Subject: [PATCH] fix createLinks --- static/js/utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/utils.js b/static/js/utils.js index a3d7ae72..49299e07 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -299,7 +299,8 @@ pandora.createLinks = function($element) { if ($target.is('a') or $target == $element) { break; } - $target = $($target.parent()); + e.target = e.target.parent(); + $target = $(e.target); } if ( $target.is('a')