File

mod_conversejs/template.js @ 3630:c05e157d987c

mod_muc_occupant_id: Remove unnecessary check on occupant
author Maxime “pep” Buquet <pep@bouah.net>
date Sun, 14 Jul 2019 19:04:16 +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);
}