From 8ba790be649c02d2d0ffe03b98ed05ca39eb0653 Mon Sep 17 00:00:00 2001 From: takumi-n Date: Sat, 15 Jan 2022 23:47:00 +0900 Subject: [PATCH] fix: history search dosen't work --- src/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content.js b/src/content.js index e2be550..1c0df67 100644 --- a/src/content.js +++ b/src/content.js @@ -127,7 +127,7 @@ $(document).ready(function(){ var tempvalue = value.replace("/history ", ""); var query = ""; if (tempvalue != "/history") { - query = value.replace("/history " + " ", ""); + query = value.replace("/history ", ""); } chrome.runtime.sendMessage({request:"search-history", query:query}, function(response){ populateOmniFilter(response.history);