fix infinite loop in pandora.clickLinks if is an Ox.Element
This commit is contained in:
parent
9ce8eb246d
commit
0803046030
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ pandora.createLinks = function($element) {
|
||||||
click: function(e) {
|
click: function(e) {
|
||||||
var $target = $(e.target);
|
var $target = $(e.target);
|
||||||
while (true) {
|
while (true) {
|
||||||
if ($target.is('a') || $target == $element) {
|
if ($target.is('a') || $target[0] == $element[0]) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$target = $($target.parent());
|
$target = $($target.parent());
|
||||||
|
|
Loading…
Reference in a new issue