diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2016-03-14 16:25:32 +1300 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2016-03-14 16:25:32 +1300 |
commit | d6bb5c09203ec2b2e2add38c11aab22fcbe3581c (patch) | |
tree | 5199710acc34975ebf97ae0f75e28cf86b2d4d3c /petrichor.js | |
parent | b4607e0d51a1982272460e0ab9af359d92876f3f (diff) | |
parent | 6bd10915ee2fdaac0fa41199dd095c3f6c02c027 (diff) | |
download | petrichor-d2606081dbc8edbdd2eb8d035d83a65d64adc4ad.tar.xz |
Merge branch 'release'1.0
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; |