aboutsummaryrefslogtreecommitdiff
path: root/website/resources/js/main.js
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-05-16 00:24:39 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-05-29 21:03:04 +0200
commit496eccd1922c89fbc7e69e3a7e6e573ec85536ac (patch)
treebf1e408fa0a340333bb4f0c5d7035adb76e121db /website/resources/js/main.js
parentcda44bb654ccdc8fc44ee3e0efa7eb0079c71d42 (diff)
downloadlombok-496eccd1922c89fbc7e69e3a7e6e573ec85536ac.tar.gz
lombok-496eccd1922c89fbc7e69e3a7e6e573ec85536ac.tar.bz2
lombok-496eccd1922c89fbc7e69e3a7e6e573ec85536ac.zip
Styling and layout of all-versions, download, and changelog fixed/updated.
Diffstat (limited to 'website/resources/js/main.js')
-rw-r--r--website/resources/js/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/website/resources/js/main.js b/website/resources/js/main.js
index 4ac490d3..146dd554 100644
--- a/website/resources/js/main.js
+++ b/website/resources/js/main.js
@@ -37,6 +37,7 @@
var u = hs.data.urlPath;
if (u === "/" || u === "") u = "/main.html";
if (u.substring(u.length - 5) !== ".html") u += ".html";
+ if (u.substring(u.length - 8) === "all.html") u = u.substring(0, u.length - 8) + "index.html";
var key = toKey(u);
var sc = $("#" + key);
if (sc.length > 0) {
@@ -61,4 +62,4 @@
}
$(ajaxFeaturePages);
-})($); \ No newline at end of file
+})($);