diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2016-03-14 16:04:05 +1300 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2016-03-14 16:04:05 +1300 |
commit | 34e34f456cce4aabe3806f7dc6438d6e03f32b10 (patch) | |
tree | 7d1c0f79eaf3a786f56557c2535e4f59c6d32c8d /petrichor.js | |
parent | b4607e0d51a1982272460e0ab9af359d92876f3f (diff) | |
parent | 1ffe28ca0ef8eab3dc1528d4f035377591935466 (diff) | |
download | petrichor-34e34f456cce4aabe3806f7dc6438d6e03f32b10.tar.xz |
Merge branch 'develop' into release
Diffstat (limited to 'petrichor.js')
-rw-r--r-- | petrichor.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/petrichor.js b/petrichor.js index b5e06ed..fa4a100 100644 --- a/petrichor.js +++ b/petrichor.js @@ -2,6 +2,16 @@ password_prompt = false; selected_user = null; time_remaining = 0 +function show_element(id) +{ + document.getElementById(id).classList.add("shown"); +} + +function hide_element(id) +{ + document.getElementById(id).classList.remove("shown"); +} + function show_prompt(text, type) { password_prompt = true; |