Sfoglia il codice sorgente

Fix save as dialog

Steven Silvester 7 anni fa
parent
commit
706a817668
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      packages/docregistry/src/context.ts

+ 1 - 2
packages/docregistry/src/context.ts

@@ -556,8 +556,7 @@ namespace Private {
      * Get the value for the widget.
      */
     getValue(): string {
-      let input = this.node.querySelector('input') as HTMLInputElement;
-      return input.value;
+      return (this.node as HTMLInputElement).value;
     }
   }