Jelajahi Sumber

remove window.open redundant args

futurist 6 tahun lalu
induk
melakukan
16033451e7
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      packages/docmanager-extension/src/index.ts

+ 1 - 1
packages/docmanager-extension/src/index.ts

@@ -473,7 +473,7 @@ function addCommands(
       }
 
       return docManager.services.contents.getDownloadUrl(path).then(url => {
-        const opened = window.open('', '_blank', 'noopener');
+        const opened = window.open();
         opened.opener = null;
         opened.location.href = url;
       });