Mercurial > prosody-modules
view mod_conversejs/template.js @ 3852:66f96b98d219
mod_rest: Allow returning an array of JID strings as disco#items
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 25 Jan 2020 00:30:14 +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); }