cors
This commit is contained in:
parent
c24ef878c4
commit
92f8611043
|
@ -102,6 +102,13 @@ function imageXhr(id, key, murl) {
|
||||||
},
|
},
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
xhr.addEventListener(
|
||||||
|
'error',
|
||||||
|
function(event) {
|
||||||
|
$('#imgmodal').attr('src', murl)
|
||||||
|
},
|
||||||
|
false
|
||||||
|
)
|
||||||
xhr.onreadystatechange = function() {
|
xhr.onreadystatechange = function() {
|
||||||
if (this.readyState == 4 && this.status == 200) {
|
if (this.readyState == 4 && this.status == 200) {
|
||||||
r = new FileReader()
|
r = new FileReader()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user