diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-09-25 16:33:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-25 16:33:33 +0200 |
| commit | 7405e7466b41144cbf67d044bcbe887f21c113dd (patch) | |
| tree | b207cb84064f826853e676334ddec29d19264c69 /assets/js/ed.js | |
| parent | 29c6c7d7b7fc0532983228f6fb88c301535939f6 (diff) | |
| parent | d8b6fca913386e8a11b470aab19c48bf54d9ab86 (diff) | |
| download | gohugo-theme-ed-7405e7466b41144cbf67d044bcbe887f21c113dd.tar.gz | |
Merge pull request #19 from sergeyklay/bump-hugo
Release v0.6.0
Diffstat (limited to 'assets/js/ed.js')
| -rw-r--r-- | assets/js/ed.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/ed.js b/assets/js/ed.js index 4bf71c2..b4ba4d6 100644 --- a/assets/js/ed.js +++ b/assets/js/ed.js @@ -17,7 +17,7 @@ function setupBackToTop() { function setupHypothes() { const hypothesisContainer = document.querySelector('.hypothesis-container'); if (hypothesisContainer !== null) { - hypothesisContainer.addEventListener('click', (e) => { + hypothesisContainer.addEventListener('click', e => { e.preventDefault(); let script = document.createElement('script'); |
