This commit is contained in:
cutls 2020-02-08 01:10:45 +09:00
parent c24ef878c4
commit 92f8611043

View File

@ -102,6 +102,13 @@ function imageXhr(id, key, murl) {
},
false
)
xhr.addEventListener(
'error',
function(event) {
$('#imgmodal').attr('src', murl)
},
false
)
xhr.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
r = new FileReader()