Mercurial > prosody-modules
view mod_conversejs/template.js @ 3931:2e8b284ac8b3
mod_rest: Add an XML error formatter (fixes #1499)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 07 Mar 2020 17:35:09 +0100 |
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); }