diff options
author | luxagraf <sng@luxagraf> | 2021-02-22 23:16:59 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf> | 2021-02-22 23:16:59 -0500 |
commit | 0ea88c5c740ba04b88591eb2f84dba9ed5351f9a (patch) | |
tree | 1eaa80c69276febb697dba94c63dcfaa84da8fe4 /app/pages | |
parent | f1b3ae97fcf704f0e1fe9a9a572561a45eb5a7b3 (diff) |
html: eliminated a lot of inline JS
Diffstat (limited to 'app/pages')
-rw-r--r-- | app/pages/templates/pages/luxagraf/page_detail.html | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/pages/templates/pages/luxagraf/page_detail.html b/app/pages/templates/pages/luxagraf/page_detail.html index 4029f24..4096c0f 100644 --- a/app/pages/templates/pages/luxagraf/page_detail.html +++ b/app/pages/templates/pages/luxagraf/page_detail.html @@ -31,10 +31,3 @@ {%endif%} </main> {% endblock %} -{% block js %} -<script src="/media/js/lightbox.js" type="text/javascript"></script> -<script>var opts={captions:true,onload:function(){var im=document.getElementById("jslghtbx-contentwrapper");var link=im.appendChild(document.createElement('a')) -link.href=im.firstChild.src;link.innerHTML="open ";link.target="_blank";link.setAttribute('class','p-link');im.appendChild(link);}};var lightbox=new Lightbox();lightbox.load(opts);</script> -{% endblock %} - - |