Release 0.2.3

This commit is contained in:
Andrei Pohilko
2022-10-26 15:26:40 +01:00
parent 44787b31cf
commit 549cdd9bfb
3 changed files with 11 additions and 8 deletions

View File

@@ -50,6 +50,15 @@ function initView() {
$("#topNav ul a").click(function () {
const self = $(this)
if (self.hasClass("section-help")) {
return;
}
$("#topNav ul a").removeClass("active")
const ctx = getHashParam("context")
setHashParam(null, null)
setHashParam("context", ctx)
if (self.hasClass("section-repo")) {
setHashParam("section", "repository")
@@ -59,12 +68,6 @@ $("#topNav ul a").click(function () {
return
}
$("#topNav ul a").removeClass("active")
const ctx = getHashParam("context")
setHashParam(null, null)
setHashParam("context", ctx)
initView()
})