From ba9d0860484fcc52f89dc72cd97dee2d9205aa36 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 30 Jan 2019 12:41:59 +0100 Subject: update mobile css --- client/splash/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/splash/index.js') 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) -- cgit v1.2.3-70-g09d2