From b64eb0193d9774577537954ed02f65e475b96c26 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Mon, 19 Mar 2018 21:21:28 +0000 Subject: [PATCH] Hide emoji picker in visitor mode --- webapp/titanembeds/static/js/embed.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index a3fac7e..de0927d 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -380,10 +380,12 @@ $("#visitor_mode_message").show(); $("#messagebox").hide(); $("#emoji-tray-toggle").hide(); + $(".wdt-emoji-picker").hide(); } else { $("#visitor_mode_message").hide(); $("#messagebox").show(); $("#emoji-tray-toggle").show(); + $(".wdt-emoji-picker").show(); } }