소스 검색

remove window.open redundant args

futurist 6 년 전
부모
커밋
16033451e7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
       });