view mod_conversejs/template.js @ 3628:2444fb3b05b7

mod_csi_muc_priorities: Signal unimportance (thanks tmolitor) The short version of this module would be `return priorities[room]`, but the `false` case got lost somewhere along the way.
author Kim Alvefur <zash@zash.se>
date Thu, 04 Jul 2019 08:46:26 +0200
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);
}