Browse Source

Remove revokeObjectURL

Remove revokeObjectURL in panoImage.onload so that the URL can still be used in Renderer.init() in libpannellum.js. The URL will also be revoked in that place.
pull/998/head
Quicksilver0218 3 years ago
committed by GitHub
parent
commit
f9c5bdebda
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      src/js/pannellum.js

+ 0
- 1
src/js/pannellum.js View File

@@ -407,7 +407,6 @@ function init() {
p = absoluteURL(config.panorama) ? config.panorama : p + config.panorama;

panoImage.onload = function() {
window.URL.revokeObjectURL(this.src); // Clean up
onImageLoad();
};


Loading…
Cancel
Save