1
0
Эх сурвалжийг харах

fix using wrong variable (fixes #3173)

Falko Schindler 11 сар өмнө
parent
commit
3f1ace4e0c

+ 1 - 1
nicegui/static/nicegui.js

@@ -240,7 +240,7 @@ function download(src, filename, mediaType, prefix) {
   anchor.click();
   document.body.removeChild(anchor);
   if (typeof src !== "string") {
-    URL.revokeObjectURL(url);
+    URL.revokeObjectURL(anchor.href);
   }
 }