aboutsummaryrefslogtreecommitdiff
path: root/website/resources
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-11-19 12:05:44 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-11-19 12:05:44 +0100
commit4126bc277286279c38fa2df785b56eae88b606af (patch)
treec9657e1d2bcdb3354a593e2d2daaac7b4e620137 /website/resources
parent94d11d89a79d6cb417bac8261449c3f895f84990 (diff)
downloadlombok-4126bc277286279c38fa2df785b56eae88b606af.tar.gz
lombok-4126bc277286279c38fa2df785b56eae88b606af.tar.bz2
lombok-4126bc277286279c38fa2df785b56eae88b606af.zip
bugfix for clicking our W-8BEN form on the order page.
Diffstat (limited to 'website/resources')
-rw-r--r--website/resources/js/main.js2
1 files changed, 1 insertions, 1 deletions
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);