diff --git a/app/js/services.js b/app/js/services.js index a77e8547..9b377dfe 100644 --- a/app/js/services.js +++ b/app/js/services.js @@ -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); }); }