From: Dan Allen Date: Mon, 21 Dec 2020 00:42:01 +0000 (-0700) Subject: flatten comment in script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=34395c368b17e7b90a16003fbaf5bc0ef8d47974;p=eg-antora.git flatten comment in script --- diff --git a/src/js/04-page-versions.js b/src/js/04-page-versions.js index 6b8678b..c4c1378 100644 --- 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 () {