fix: history search dosen't work

This commit is contained in:
takumi-n 2022-01-15 23:47:00 +09:00
parent c90b2db290
commit 8ba790be64

View file

@ -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);