refactor: General performance/style improvements (#262)

This commit is contained in:
Adam Brangenberg authored and GitHub committed 2022-12-29 10:43:41 -05:00
1 parent dc43737896
commit 614a6222a1
10 files changed
+84 -66

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ function initPopover(baseURL, useContextualBacklinks) {
links
.filter(li => li.dataset.src || (li.dataset.idx && useContextualBacklinks))
.forEach(li => {
var el
let el
if (li.dataset.ctx) {
const linkDest = content[li.dataset.src]
const popoverElement = `<div class="popover">