瀏覽代碼

Merge pull request #1843 from afshin/underscore

Fix infinite loop.
Steven Silvester 8 年之前
父節點
當前提交
efd2710942
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/completer/widget.ts

+ 1 - 1
src/completer/widget.ts

@@ -258,7 +258,7 @@ class CompleterWidget extends Widget {
 
     // If there are no items, reset and bail.
     if (!items || !items.length) {
-      this.reset();
+      this._reset();
       if (!this.isHidden) {
         this.hide();
         this._visibilityChanged.emit(void 0);