Mercurial > prosody-modules
view mod_conversejs/template.js @ 3600:f32efd448794
mod_conversejs: Set viewport scale hack (closes #1361)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 16 May 2019 08:48:09 +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); }