view mod_conversejs/template.js @ 3683:1432020c33c7

mod_muc_media_metadata: Fix README filename
author Matthew Wild <mwild1@gmail.com>
date Sun, 29 Sep 2019 16:49:42 +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);
}