fix error from href="javascript:void()" by ignoring it

This commit is contained in:
Ralf Becker 2019-08-15 19:36:04 +02:00
parent a6ee8eda1b
commit 6254eb61fd

View File

@ -112,7 +112,7 @@
} }
} }
args.unshift(matches[1]); 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 return false; // IE11 seems to require this, ev.stopPropagation() does NOT stop link from being executed
}); });
}); });