diff options
| author | adamhrv <adam@ahprojects.com> | 2019-01-29 22:20:57 +0100 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2019-01-29 22:20:57 +0100 |
| commit | edc5e1542071fdc1a18a2bb1af2c2b5bed8be02a (patch) | |
| tree | ea62bcba3e9e384c1e619af7fc63489443cab762 /client/splash/modal.js | |
| parent | f7077a7cf80dc9454bf58f708642a68edfaadb13 (diff) | |
| parent | 78fbb43ae9726ee1f0ca7f4c27f4060a34763629 (diff) | |
Merge branch 'master' of github.com:adamhrv/megapixels_dev
Diffstat (limited to 'client/splash/modal.js')
| -rw-r--r-- | client/splash/modal.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/splash/modal.js b/client/splash/modal.js new file mode 100644 index 00000000..d5a63d75 --- /dev/null +++ b/client/splash/modal.js @@ -0,0 +1,10 @@ + +export function open() { + const el = document.querySelector('.about') + el.classList.add('open') +} + +export function close() { + const el = document.querySelector('.about') + el.classList.remove('open') +} |
