Commit 249aab68 authored by jan.koester's avatar jan.koester
Browse files

test

parent 29460976
Loading
Loading
Loading
Loading
+1 −1
Changes for src/webedit/image/image.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -470,7 +470,7 @@ extern "C" {
                        "o.style.cssText='position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.9);display:flex;align-items:center;justify-content:center;z-index:99999;cursor:pointer;overflow:auto;';"
                        "var i=document.createElement('img');"
                        "i.src=this.getAttribute('data-original')||this.src;i.alt=this.alt;"
                        "i.style.cssText='max-width:none;max-height:none;width:auto;height:auto;';"
                        "i.style.cssText='max-width:95vw;max-height:95vh;width:auto;height:auto;object-fit:contain;';"
                        "o.appendChild(i);"
                        "o.onclick=function(e){if(e.target===o)document.body.removeChild(o);};"
                        "document.body.appendChild(o);");