Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fix syntax and remove unused function
Browse files Browse the repository at this point in the history
Auditors: @jkup
  • Loading branch information
bbondy committed Aug 25, 2016
1 parent 3bec3be commit fa0fa6c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions js/actions/webviewActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const webviewActions = {
}
},

findInPage (searchString, caseSensitivity, forward, webview) {
findInPage: function (searchString, caseSensitivity, forward, webview) {
webview = webview || getWebview()
if (!webview) {
return
Expand All @@ -98,14 +98,6 @@ const webviewActions = {
} else {
webview.stopFindInPage('clearSelection')
}
},

stopFindInPage (webview) {
webview = webview || getWebview()
if (!webview) {
return
}
webview.stopFindInPage('keepSelection')
}
}

Expand Down

0 comments on commit fa0fa6c

Please sign in to comment.