view mod_conversejs/template.js @ 4091:354dc1e7977a

mod_register_apps: Provides a configurable list of XMPP apps
author Matthew Wild <mwild1@gmail.com>
date Thu, 10 Sep 2020 16:47:59 +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);
}