From d96794493cc4ee2939b461f84a4029d5b92c1400 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Mon, 22 Nov 2021 20:32:46 -0500 Subject: Make sidebar optional --- templates/page.tmpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'templates/page.tmpl') diff --git a/templates/page.tmpl b/templates/page.tmpl index 6df947c6..d6cd9e3e 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -107,7 +107,7 @@ // @license-end - +class="has-sidebar">
@@ -304,6 +304,9 @@ Last edited transcriptDiv.appendChild(transcriptLink) if (resources) { resources.prepend(transcriptDiv); } } + if (document.querySelector('.chat-iframe')) { + document.querySelector('.chat-iframe').innerHTML = ''; +} // @license-end -- cgit v1.2.3