diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-05-22 00:11:15 +0200 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-05-22 00:11:15 +0200 |
commit | 4af6e42b3bd5bc9e676e4ec8db3d2d48429d77a6 (patch) | |
tree | 8b4e0f6ab5b07210042701551c77f211f7e0ff31 /website | |
parent | 8f69331ce8d120c3a0c8440c805aab0b5e458e6d (diff) | |
download | lombok-4af6e42b3bd5bc9e676e4ec8db3d2d48429d77a6.tar.gz lombok-4af6e42b3bd5bc9e676e4ec8db3d2d48429d77a6.tar.bz2 lombok-4af6e42b3bd5bc9e676e4ec8db3d2d48429d77a6.zip |
[website] fixed history/ajax-load system to deal with anchor links
Diffstat (limited to 'website')
-rw-r--r-- | website/resources/js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/resources/js/main.js b/website/resources/js/main.js index eaaf2df5..3d18b996 100644 --- a/website/resources/js/main.js +++ b/website/resources/js/main.js @@ -37,7 +37,7 @@ if (self.data("clc")) return; var href = self.attr("href"); self.data("clc", true); - if (!href || href.substr(0, 4) === "http" || href === "/api/" || href === "/" || href === "/supporters" || href === "/order-license") return; + if (!href || href.substr(0, 4) === "http" || href.substr(0, 1) === "#" || href === "/api/" || href === "/" || href === "/supporters" || href === "/order-license") return; var ext = href.substr(href.length - 4, 4); if (ext === ".xml" || ext === ".jar" || ext === ".pdf") return; self.on("click", function(evt) { |