view mod_conversejs/template.js @ 4149:bb60db2b2cd1

mod_firewall: Update another chain name for consistency
author Matthew Wild <mwild1@gmail.com>
date Mon, 21 Sep 2020 15:49:54 +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);
}