view mod_conversejs/template.js @ 4162:f7bc0e4ab4a2

mod_muc_inject_mentions: Should not append mentions by default
author Seve Ferrer <seve@delape.net>
date Tue, 29 Sep 2020 17:14:41 +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);
}