From 6254eb61fd8b57bc3676302fd83ff06ffe19147e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 15 Aug 2019 19:36:04 +0200 Subject: [PATCH] fix error from href="javascript:void()" by ignoring it --- pixelegg/js/fw_pixelegg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixelegg/js/fw_pixelegg.js b/pixelegg/js/fw_pixelegg.js index c495bd47e2..3bfea36158 100644 --- a/pixelegg/js/fw_pixelegg.js +++ b/pixelegg/js/fw_pixelegg.js @@ -112,7 +112,7 @@ } } args.unshift(matches[1]); - et2_call.apply(this, args); + if (matches[1] !== 'void') et2_call.apply(this, args); return false; // IE11 seems to require this, ev.stopPropagation() does NOT stop link from being executed }); });