From 6b7eebe9f36d3472006a6b0a6dda6d3ed86dbffc Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Sun, 13 Dec 2015 17:01:26 -0800 Subject: [PATCH] Fix forced hiding if logged out. --- js/ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/ui.js b/js/ui.js index 27d41ff..a5bb877 100644 --- a/js/ui.js +++ b/js/ui.js @@ -276,7 +276,8 @@ function ShowAccountSettings(variableName) { } function HideAccountSettings() { - document.getElementById("accountSettingsScreen").style.display = "none"; + If (document.getElementById("accountSettingsScreen")) + document.getElementById("accountSettingsScreen").style.display = "none"; } function ShowDictionaryDeleteMenu(dictionaryList) {