Pārlūkot izejas kodu

Fix save as dialog

Steven Silvester 7 gadi atpakaļ
vecāks
revīzija
706a817668
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  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;
     }
   }