From 4126bc277286279c38fa2df785b56eae88b606af Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 19 Nov 2018 12:05:44 +0100 Subject: bugfix for clicking our W-8BEN form on the order page. --- website/resources/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'website/resources') diff --git a/website/resources/js/main.js b/website/resources/js/main.js index f07da70d..5608a3c3 100644 --- a/website/resources/js/main.js +++ b/website/resources/js/main.js @@ -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); -- cgit