Skip to content

Commit

Permalink
Fix: Bind close method in DocFindBar (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Press authored Jan 31, 2018
1 parent 56decad commit faac9c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/viewers/doc/DocFindBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class DocFindBar extends EventEmitter {
this.barKeyDownHandler = this.barKeyDownHandler.bind(this);
this.findNextHandler = this.findNextHandler.bind(this);
this.findPreviousHandler = this.findPreviousHandler.bind(this);
this.close = this.close.bind(this);

// overriding some find controller methods to update match count
this.findController.updateUIState = this.updateUIState.bind(this);
Expand Down

0 comments on commit faac9c0

Please sign in to comment.