浏览代码

Fix save as dialog

Steven Silvester 7 年之前
父节点
当前提交
706a817668
共有 1 个文件被更改,包括 1 次插入2 次删除
  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;
     }
   }