Selaa lähdekoodia

Merge pull request #1843 from afshin/underscore

Fix infinite loop.
Steven Silvester 8 vuotta sitten
vanhempi
commit
efd2710942
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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);