view mod_conversejs/template.js @ 4072:2dcbc01c9931

mod_firewall: Fix example in README to use |host (thanks DebXWoody)
author Matthew Wild <mwild1@gmail.com>
date Wed, 05 Aug 2020 16:38:49 +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);
}