view mod_conversejs/template.js @ 4159:94e3e7753220

mod_muc_inject_mentions: Improve mentions lookup by using a set instead of a list
author Seve Ferrer <seve@delape.net>
date Mon, 28 Sep 2020 18:46:33 +0200
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);
}