Skip to content

Commit

Permalink
Fix batch-mark-files-as-viewed shift-click (#4230)
Browse files Browse the repository at this point in the history
  • Loading branch information
yakov116 committed Apr 15, 2021
1 parent 8ee4d15 commit e77a607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/features/batch-mark-files-as-viewed.tsx
Expand Up @@ -65,7 +65,7 @@ function onAltClick(event: delegate.Event<MouseEvent, HTMLInputElement>): void {
function init(): void {
// `mousedown` required to avoid mouse selection on shift-click
delegate(document, '.js-reviewed-toggle', 'mousedown', batchToggle);
delegate(document, '.js-reviewed-toggle', 'submit', remember);
delegate(document, '.js-toggle-user-reviewed-file-form', 'submit', remember);
delegate(document, '.js-reviewed-toggle', 'click', onAltClick);
}

Expand Down

0 comments on commit e77a607

Please sign in to comment.