view mod_conversejs/template.js @ 3684:0f3cb1247682

mod_muc_media_metadata: Fix example config
author Matthew Wild <mwild1@gmail.com>
date Sun, 29 Sep 2019 16:50:59 +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);
}