raster pushed a commit to branch master. http://git.enlightenment.org/website/www.git/commit/?id=f6af920a2fb421a91ed2ca379cb9a04523c28098
commit f6af920a2fb421a91ed2ca379cb9a04523c28098 Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Tue Jun 15 12:02:47 2021 +0100 ok - whatever. iframe not working. go to new tab and full page for chat --- public_html/lib/tpl/e/footer.html | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/public_html/lib/tpl/e/footer.html b/public_html/lib/tpl/e/footer.html index 7beff5e6..e903be7b 100644 --- a/public_html/lib/tpl/e/footer.html +++ b/public_html/lib/tpl/e/footer.html @@ -159,17 +159,6 @@ var nick = n1[Math.floor(Math.random() * n1.length)] + '-' + n2[Math.floor(Math.random() * n2.length)]; -var iframe; - - function initFrame() { - if (!iframe) { - iframe = document.createElement('iframe'); - iframe.setAttribute('src', - 'https://kiwiirc.com/client/irc.libera.chat/?port=6667&tls=true&nick=' + nick + '&theme=cli#e'); - iframe.setAttribute('sandbox', 'allow-forms allow-scripts allow-same-origin'); - iframe.setAttribute('style', 'border:0; width:360px; height:500px;'); - document.getElementById('ircbubble2').appendChild(iframe); - } } </script> <div id="ircbutton" @@ -178,13 +167,7 @@ var iframe; onmouseup="this.style.background='#181818'" ontouchend="this.style.background='#181818'" onclick="{ - var d = document.getElementById('ircbubble'); - if (!(d.style.display === 'none')) { - d.style.display = 'none'; - } else { - d.style.display = 'block'; - } - initFrame(); + window.open('https://kiwiirc.com/client/irc.libera.chat/?port=6667&tls=true&nick=' + nick + '&theme=cli#e'); }" > <svg width="120" height="60" version="1.1" viewBox="0 0 31.75 15.875" xmlns="http://www.w3.org/2000/svg"> --