File

mod_conversejs/template.js @ 3617:61b9c89db212

mod_log_events_by_memory: Add a rant to README about uselessness of this module
author Kim Alvefur <zash@zash.se>
date Thu, 13 Jun 2019 00:24:54 +0200
parent 3598:1921ae4449b8
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);
}