File

mod_conversejs/template.js @ 4119:559ca8d93302

mod_invites_register_web: Also add ip to user-registered
author Matthew Wild <mwild1@gmail.com>
date Mon, 14 Sep 2020 14:19:19 +0100
parent 3598:1921ae4449b8
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);
}