diff --git a/static/js/utils.js b/static/js/utils.js index 1e679a649..710a0bd8c 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -296,7 +296,7 @@ pandora.createLinks = function($element) { click: function(e) { var $target = $(e.target); while (true) { - if ($target.is('a') or $target == $element) { + if ($target.is('a') || $target == $element) { break; } $target = $($target.parent());