view mod_conversejs/template.js @ 4132:36795f773faf

mod_invites_page: Apply fixes from invite page to client URI page
author Matthew Wild <mwild1@gmail.com>
date Tue, 15 Sep 2020 16:15:51 +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);
}