view mod_conversejs/template.js @ 3614:f74444b0e187

mod_web_push: README: Fix list formatting
author Maxime “pep” Buquet <pep@bouah.net>
date Sun, 09 Jun 2019 22:05:39 +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);
}