diff options
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'); |
