Skip to content

Commit

Permalink
Svelte 4.0 trigger a new linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mtmail committed Jun 26, 2023
1 parent 455b3fd commit 7b4e51e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/ResultsList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@
</script>

{#if aSearchResults && aSearchResults.length > 0}
<div id="searchresults">
<div id="searchresults" role="list">

{#each aSearchResults as aResult, iResNum}
<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
<div class="result"
class:highlight={iResNum === iHighlightNum}
role="listitem"
data-position="{iResNum}"
on:click|stopPropagation={handleClick}
on:keypress|stopPropagation={handleClick}>
Expand Down

0 comments on commit 7b4e51e

Please sign in to comment.