]> Entropealabs - photography.git/commitdiff
remove image height style
authorChristopher Coté <chris@entropealabs.com>
Tue, 11 Jan 2022 15:46:45 +0000 (10:46 -0500)
committerChristopher Coté <chris@entropealabs.com>
Tue, 11 Jan 2022 15:46:45 +0000 (10:46 -0500)
src/index.js

index f27a59348108eeb4fc9963ed5cf9337522470838..92d3cdf6a3dc9f325d2b5389811298eed3c43bb4 100644 (file)
@@ -116,7 +116,6 @@ function image(image){
   let i = document.createElement("img");
   i.src = server + image.path;
   i.onclick = (e) => set_hash(image.hash);
-  i.style.height = image.height + "px";
   let u = document.createElement("ul");
   u.className = "image-tags";
   image.tags.forEach(t => {