- Updated FAQs copy.
- Close nav on view switch
This commit is contained in:
Thomas Mathews 2022-12-22 14:00:59 -08:00
parent 0a4789b38e
commit 2288afbba3
3 changed files with 31 additions and 5 deletions

View file

@ -20,6 +20,10 @@ function toggle_gnav(el) {
el.parentElement.classList.toggle("open");
}
function close_gnav() {
find_node("#gnav").classList.remove("open");
}
/* post_input_changed checks the content of the textarea and updates the size
* of it's element. Additionally I will toggle the enabled state of the sending
* button.