Add: image min-width: 750px against width min
This commit is contained in:
parent
44b0c6c8fd
commit
ab265fae62
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user