view mod_conversejs/template.js @ 3752:8992f84ca870

mod_http_index: Only show http apps that include a title by default This lets http modules indicate whether they make sense to be user-facing or not.
author Kim Alvefur <zash@zash.se>
date Sun, 17 Nov 2019 16:33:28 +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);
}