ConverseJS: show the toolbar when in fullscreen.

This commit is contained in:
John Livingston
2021-05-05 17:32:50 +02:00
parent e5d5da4d07
commit 5a82f9aa93
2 changed files with 9 additions and 1 deletions

View File

@ -90,6 +90,14 @@ window.initConverse = async function initConverse ({
advancedControls
}: InitConverseParams) {
const isInIframe = inIframe()
if (isInIframe) {
const body = document.querySelector('body')
if (body) {
body.classList.add('livechat-iframe')
}
}
const params: any = {
assets_path: assetsPath,