Software /
code /
prosody-modules
File
mod_conversejs/template.js @ 3621:c2c851722a8a
mod_smacks: fix prosody 0.9 compatibility
author | tmolitor <thilo@eightysoft.de> |
---|---|
date | Sun, 16 Jun 2019 02:00:12 +0200 |
parent | 3598:1921ae4449b8 |
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); }