- toggleChat: function() {
- let modalChat = document.getElementById("modalChat");
- modalChat.style.backgroundColor =
- (modalChat.style.backgroundColor == "#e2e2e2"
- ? "#c5fefe"
- : "#e2e2e2");
+ resetChatColor: function() {
+ // TODO: this is called twice, once on opening an once on closing
+ document.getElementById("chatBtn").style.backgroundColor = "#e2e2e2";