view mod_conversejs/template.js @ 4070:268fa9d45840

mod_http_upload/README: Fix typo (thanks bjoernb)
author Kim Alvefur <zash@zash.se>
date Sun, 26 Jul 2020 16:15:37 +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);
}