Code refactoring WIP:
Cleaning the way ConverseJS parameters are given to the full page.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import type { InitConverseParams } from './types'
|
||||
import type { InitConverseJSParams } from 'shared/lib/types'
|
||||
|
||||
function initDom ({ forceReadonly, transparent }: InitConverseParams, isInIframe: boolean): void {
|
||||
function initDom ({ forceReadonly, transparent }: InitConverseJSParams, isInIframe: boolean): void {
|
||||
const body = document.querySelector('body')
|
||||
if (isInIframe) {
|
||||
if (body) {
|
||||
|
Reference in New Issue
Block a user