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