mirror of
https://github.com/alrayyes/wiki.git
synced 2025-06-23 13:26:32 +00:00
refactor: General performance/style improvements (#262)
This commit is contained in:
parent
dc43737896
commit
614a6222a1
10 changed files with 84 additions and 66 deletions
assets/js
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue