view mod_conversejs/template.js @ 3762:74d7e59b3511

mod_email: Initial prototype module that allows other modules to send email
author Matthew Wild <mwild1@gmail.com>
date Fri, 13 Dec 2019 12:46:44 +0000
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);
}