Преглед изворни кода

Merge pull request #5771 from Madhu94/fix-export-link

Passing 'noopener' to window.open() always returns null, breaking exporting
Afshin Taylor Darian пре 6 година
родитељ
комит
77d34f5451
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/notebook-extension/src/index.ts

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

@@ -1037,7 +1037,7 @@ function addCommands(
           args['format'] as string,
           notebookPath
         ) + '?download=true';
-      const child = window.open('', '_blank', 'noopener');
+      const child = window.open('', '_blank');
       const { context } = current;
 
       child.opener = null;