view mod_conversejs/template.js @ 4145:837c4340653f

mod_muc_inject_mentions: Catch nicknames between new lines
author Seve Ferrer <seve@delape.net>
date Sun, 20 Sep 2020 15:24:09 +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);
}