view mod_conversejs/template.js @ 4058:cf9a1c7d558d

mod_muc_rai: Don't store/modify existing table to track rooms This was a simple bug that took a while to track down.
author Matthew Wild <mwild1@gmail.com>
date Thu, 02 Jul 2020 12:17:53 +0100
parents 1921ae4449b8
children
line wrap: on
line source

if(typeof converse == 'undefined') {
	var div = document.createElement("div");
	var noscript = document.getElementsByTagName("noscript")[0];
	div.innerHTML = noscript.innerText;
	document.body.appendChild(div);
} else {
	converse.initialize(%s);
}