summaryrefslogtreecommitdiff
path: root/ext/bg/js/search.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-25 14:35:53 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-26 22:06:27 -0500
commitacb70f126cd87234b442fd599061f1b7539c846b (patch)
treeaff2dabacced5f2b8aedc0a9fe4ac2076cdb48af /ext/bg/js/search.js
parentef833d2bea07cd2e979dd558eaba141f880063cb (diff)
Update unused arguments
Diffstat (limited to 'ext/bg/js/search.js')
-rw-r--r--ext/bg/js/search.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js
index e5cdf272..a98d7a9a 100644
--- a/ext/bg/js/search.js
+++ b/ext/bg/js/search.js
@@ -167,7 +167,7 @@ class DisplaySearch extends Display {
this.onSearchQueryUpdated(query, true);
}
- onPopState(e) {
+ onPopState() {
const query = DisplaySearch.getSearchQueryFromLocation(window.location.href) || '';
if (this.query !== null) {
if (this.isWanakanaEnabled()) {
@@ -245,7 +245,7 @@ class DisplaySearch extends Display {
initClipboardMonitor() {
// ignore copy from search page
- window.addEventListener('copy', (e) => {
+ window.addEventListener('copy', () => {
this.clipboardPrevText = document.getSelection().toString().trim();
});
}