JonStargaryen hace 4 años
padre
commit
18e2229c38
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/viewer/ui/strucmotif.tsx

+ 3 - 1
src/viewer/ui/strucmotif.tsx

@@ -154,7 +154,9 @@ class SubmitControls extends PurePluginUIComponent<{}, { isBusy: boolean, residu
             }
         };
         console.log(query);
-        window.open(ADVANCED_SEARCH_URL + encodeURIComponent(JSON.stringify(query)) + RETURN_TYPE, '_blank');
+        const url = ADVANCED_SEARCH_URL + encodeURIComponent(JSON.stringify(query)) + RETURN_TYPE;
+        console.log(url);
+        window.open(url, '_blank');
     }
 
     sortResidueIds(a: ResidueSelection, b: ResidueSelection): number {