Event search (Ctrl+F), locale/RTL handling, weekday selector workday/weekend, refactored event handling, Firefox compatibility #3
@ -662,11 +662,7 @@ window.addEventListener('resize', () => {
|
|||||||
v-for="(r, i) in searchResults"
|
v-for="(r, i) in searchResults"
|
||||||
:key="r.id"
|
:key="r.id"
|
||||||
:class="{ active: i === searchIndex }"
|
:class="{ active: i === searchIndex }"
|
||||||
@click="
|
@click="((searchIndex = i), activateCurrentResult(), closeSearch())"
|
||||||
searchIndex = i
|
|
||||||
activateCurrentResult()
|
|
||||||
closeSearch()
|
|
||||||
"
|
|
||||||
>
|
>
|
||||||
<span class="title">{{ r.title }}</span>
|
<span class="title">{{ r.title }}</span>
|
||||||
<span class="date">{{ r.startDate }}</span>
|
<span class="date">{{ r.startDate }}</span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user