Merge pull request #1002 from Araxeus/fix-searchbox+precise-volume-interaction

[precise-volume] fix arrows shortcuts active in search box
This commit is contained in:
th-ch
2023-02-08 23:30:40 +01:00
committed by GitHub

View File

@ -235,6 +235,7 @@ function setTooltip(volume) {
function setupLocalArrowShortcuts() {
if (options.arrowsShortcut) {
window.addEventListener('keydown', (event) => {
if ($('ytmusic-search-box').opened) return;
switch (event.code) {
case "ArrowUp":
event.preventDefault();