summaryrefslogtreecommitdiff
path: root/source/features/batch-mark-files-as-viewed.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/batch-mark-files-as-viewed.tsx')
-rw-r--r--source/features/batch-mark-files-as-viewed.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/batch-mark-files-as-viewed.tsx b/source/features/batch-mark-files-as-viewed.tsx
index b5d26fa3..8f518978 100644
--- a/source/features/batch-mark-files-as-viewed.tsx
+++ b/source/features/batch-mark-files-as-viewed.tsx
@@ -8,7 +8,7 @@ import {clickAll} from './toggle-everything-with-alt';
let previousFile: HTMLElement | undefined;
-function remember(event: delegate.Event<Event, HTMLFormElement>): void {
+function remember(event: delegate.Event): void {
previousFile = event.delegateTarget.closest<HTMLElement>('.js-file')!;
}