From ab265fae6237f931c7ceab7a73a01d4d1334b515 Mon Sep 17 00:00:00 2001 From: cutls Date: Sun, 26 Jan 2020 23:55:42 +0900 Subject: [PATCH] Add: image min-width: 750px against width min --- app/js/ui/img.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/js/ui/img.js b/app/js/ui/img.js index cfecead7..17a8994f 100644 --- a/app/js/ui/img.js +++ b/app/js/ui/img.js @@ -112,6 +112,9 @@ function imageXhr(id, key, murl) { var width element.onload = function() { var width = element.naturalWidth + if(width < 650) { + width = 650; + } var height = element.naturalHeight var windowH = $(window).height() var windowW = $(window).width()