view mod_conversejs/template.js @ 4048:64b7daa6c42c

mod_csi_battery_saver: Ignore CSI actions before resource bind
author tmolitor <thilo@eightysoft.de>
date Mon, 22 Jun 2020 21:35:57 +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);
}