Add: image min-width: 750px against width min

This commit is contained in:
cutls 2020-01-26 23:55:42 +09:00
parent 44b0c6c8fd
commit ab265fae62

View File

@ -112,6 +112,9 @@ function imageXhr(id, key, murl) {
var width var width
element.onload = function() { element.onload = function() {
var width = element.naturalWidth var width = element.naturalWidth
if(width < 650) {
width = 650;
}
var height = element.naturalHeight var height = element.naturalHeight
var windowH = $(window).height() var windowH = $(window).height()
var windowW = $(window).width() var windowW = $(window).width()