Focus first item while searching

This commit is contained in:
Alyssa X 2022-01-12 18:41:49 +01:00
parent 33e0b50869
commit 842e668f1c
2 changed files with 3 additions and 1 deletions

View file

@ -143,6 +143,8 @@ $(document).ready(function(){
});
}
$(".omni-extension #omni-results").html($("#omni-extension #omni-list .omni-item:visible").length+" results");
$(".omni-item-active").removeClass("omni-item-active");
$(".omni-extension #omni-list .omni-item:visible").first().addClass("omni-item-active");
}
// Handle actions from the omni

View file

@ -2,7 +2,7 @@
"name": "Omni",
"description": "Supercharge Chrome with commands, shortcuts, and more",
"offline_enabled": true,
"version": "1.0.9",
"version": "1.1.0",
"manifest_version": 3,
"action": {
"icons": {