projects
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5b2668
)
flatten comment in script
author
Dan Allen
<dan@opendevise.com>
Mon, 21 Dec 2020 00:42:01 +0000
(17:42 -0700)
committer
Dan Allen
<dan@opendevise.com>
Mon, 21 Dec 2020 00:42:01 +0000
(17:42 -0700)
src/js/04-page-versions.js
patch
|
blob
|
history
diff --git
a/src/js/04-page-versions.js
b/src/js/04-page-versions.js
index
6b8678b
..
c4c1378
100644
(file)
--- a/
src/js/04-page-versions.js
+++ b/
src/js/04-page-versions.js
@@
-8,8
+8,7
@@
toggle.addEventListener('click', function (e) {
selector.classList.toggle('is-active')
- // don't let this event get smothered
- e.stopPropagation()
+ e.stopPropagation() // trap event
})
document.documentElement.addEventListener('click', function () {