view mod_conversejs/template.js @ 4085:fe75cc43dfbf

mod_easy_invite: Allow account reset invites
author Matthew Wild <mwild1@gmail.com>
date Mon, 07 Sep 2020 12:52:40 +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);
}