Fixed lazyload breaking in uploads result

This commit is contained in:
Bobby Wibowo 2018-10-18 20:40:47 +07:00
parent 2bdb1d7245
commit dd6934c540
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
2 changed files with 2 additions and 2 deletions

View File

@ -376,7 +376,7 @@ page.updateTemplate = function (file, response) {
img.setAttribute('alt', response.name || '')
img.dataset['src'] = response.url
img.onerror = function () { this.style.display = 'none' } // hide webp in firefox and ie
page.lazyLoad.update()
page.lazyLoad.update(file.previewElement.querySelectorAll('img'))
}
}

View File

@ -15,7 +15,7 @@
v2: Images and config files (manifest.json, browserconfig.xml, etc).
v3: CSS and JS files (libs such as bulma, lazyload, etc).
#}
{% set v1 = "LaPhoISlpS" %}
{% set v1 = "PuOkOUW8DU" %}
{% set v2 = "Ii3JYKIhb0" %}
{% set v3 = "6MfcbDZldp" %}