view mod_conversejs/template.js @ 3644:9980ea72ff91

mod_pubsub_text_interface: Respond to receipts Because why not?
author Kim Alvefur <zash@zash.se>
date Fri, 09 Aug 2019 19:01:58 +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);
}