Igor Zhukov 10 years ago
parent
commit
2189ed1ea2
  1. 3
      app/js/services.js

3
app/js/services.js

@ -2316,7 +2316,8 @@ angular.module('myApp.services', []) @@ -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…
Cancel
Save