Merge pull request #37 from takumi-n/fix/history-search

fix: history search not working
This commit is contained in:
Alyssa X 2022-01-15 15:56:30 +01:00 committed by GitHub
commit b947923c35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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