File

mod_conversejs/template.js @ 4022:3ac31ddab7eb

mod_easy_invite: Add commands to telnet console Handy if all you have is SSH access and no ad-hoc capable client
author Kim Alvefur <zash@zash.se>
date Sat, 16 May 2020 19:48:26 +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);
}