cors
This commit is contained in:
parent
c24ef878c4
commit
92f8611043
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user