view mod_conversejs/template.js @ 4098:d6710900019b

mod_easy_invite: Add deprecation note and tag
author Matthew Wild <mwild1@gmail.com>
date Fri, 11 Sep 2020 13:56:52 +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);
}