bugfix for clicking our W-8BEN form on the order page.

This commit is contained in:
Reinier Zwitserloot committed 2018-11-19 12:05:44 +01:00
1 parent 94d11d89a7
commit 4126bc2772
1 file changed
+1 -1
+1 -1
View File
@@ -39,7 +39,7 @@
self.data("clc", true);
if (!href || href.substr(0, 4) === "http" || href === "/api/" || href === "/" || href === "/supporters" || href === "/order-license") return;
var ext = href.substr(href.length - 4, 4);
if (ext === ".xml" || ext === ".jar") return;
if (ext === ".xml" || ext === ".jar" || ext === ".pdf") return;
self.on("click", function(evt) {
evt.preventDefault();
var key = toKey(window.location.pathname);