kopia lustrzana https://github.com/shoelace-style/shoelace
fix home button in search
rodzic
1f95c6ca6e
commit
6cbe2e288b
|
|
@ -192,7 +192,7 @@
|
|||
nextEl = items[Math.min(items.length - 1, index + 1)];
|
||||
break;
|
||||
case 'Home':
|
||||
nextEl = items[items.length > 0 ? 1 : 0];
|
||||
nextEl = items[0];
|
||||
break;
|
||||
case 'End':
|
||||
nextEl = items[items.length - 1];
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue