diff options
| author | adamhrv <adam@ahprojects.com> | 2019-02-09 14:02:22 +0100 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2019-02-09 14:02:22 +0100 |
| commit | 31305e9d9de9b7624cb9b2dfb462a3e68c120798 (patch) | |
| tree | 51b37499dc21bb600639d9a3e6050a5d01e2dbd1 /client/splash/index.js | |
| parent | edc5e1542071fdc1a18a2bb1af2c2b5bed8be02a (diff) | |
| parent | 865be13c0d7e22db4f23f1d4dddc381e7392fe55 (diff) | |
Merge branch 'master' of github.com:adamhrv/megapixels_dev
Diffstat (limited to 'client/splash/index.js')
| -rw-r--r-- | client/splash/index.js | 3 |
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) |
