Fix #165
This commit is contained in:
parent
7875517e47
commit
2189ed1ea2
@ -2316,7 +2316,8 @@ angular.module('myApp.services', [])
|
||||
|
||||
return urlPromises[url] = $http.get(url, {responseType: 'blob', transformRequest: null})
|
||||
.then(function (response) {
|
||||
return window.webkitURL.createObjectURL(response.data);
|
||||
window.URL = window.URL || window.webkitURL;
|
||||
return window.URL.createObjectURL(response.data);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user