We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 423d382 commit bf0cb1dCopy full SHA for bf0cb1d
web/src/routes/DiffSearch.svelte
@@ -17,7 +17,6 @@
17
async function prevResult() {
18
const files = await viewer.searchResults;
19
if (files.totalMatches === 0) {
20
- currentMatchIdx = -1;
21
return;
22
}
23
const startIdx = currentMatchIdx == -1 ? 0 : currentMatchIdx;
@@ -29,7 +28,6 @@
29
28
async function nextResult() {
30
31
32
33
34
35
currentMatchIdx = (currentMatchIdx + 1) % files.totalMatches;
0 commit comments