From c9e1900ac2808f50b3168701cc62833d3b6a225f Mon Sep 17 00:00:00 2001 From: Steven Nguyen Date: Sat, 2 Jul 2022 16:49:07 -0500 Subject: [PATCH] fix: Remove extra paren Closes #1 --- lib/find-view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/find-view.js b/lib/find-view.js index c20d22e1..3317df60 100644 --- a/lib/find-view.js +++ b/lib/find-view.js @@ -235,7 +235,7 @@ class FindView { 'find-and-replace:use-selection-as-replace-pattern': this.setSelectionAsReplacePattern.bind(this) })); - this.refs.replaceNextButton.addEventListener('click', e => e.shiftKey ? this.replacePrevious() : this.replaceNext())); + this.refs.replaceNextButton.addEventListener('click', e => e.shiftKey ? this.replacePrevious() : this.replaceNext()); this.refs.replaceAllButton.addEventListener('click', this.replaceAll.bind(this)); this.subscriptions.add(atom.commands.add('atom-workspace', { 'find-and-replace:replace-previous': this.replacePrevious.bind(this),