summaryrefslogtreecommitdiff
path: root/client/splash/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-01-30 12:41:59 +0100
committerJules Laplace <julescarbon@gmail.com>2019-01-30 12:41:59 +0100
commitba9d0860484fcc52f89dc72cd97dee2d9205aa36 (patch)
treef3ac547370aaa9f7c12c10a64c3623374b7b83f8 /client/splash/index.js
parent78fbb43ae9726ee1f0ca7f4c27f4060a34763629 (diff)
update mobile css
Diffstat (limited to 'client/splash/index.js')
-rw-r--r--client/splash/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/splash/index.js b/client/splash/index.js
index 322ed0ff..e247b7f5 100644
--- a/client/splash/index.js
+++ b/client/splash/index.js
@@ -30,8 +30,9 @@ function build() {
}
function bind() {
+ document.querySelector('.slogan').addEventListener('click', modal.close)
toArray(document.querySelectorAll('.aboutLink')).forEach(el => {
- el.addEventListener('click', modal.open)
+ el.addEventListener('click', modal.toggle)
})
document.querySelector('.about .inner').addEventListener('click', e => e.stopPropagation())
document.querySelector('.about').addEventListener('click', modal.close)