Skip to content

Commit d9ca6d8

Browse files
Fix error on long-press
1 parent 61efaea commit d9ca6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

highlight-helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ function Highlighter(options = hhDefaultOptions) {
702702

703703
// Long press in annotatable container (triggered by setTimeout() in pointerdown event)
704704
const respondToLongPress = (event) => {
705-
respondToPointerUp(event, isLongPress = true);
705+
respondToPointerUp(event, true);
706706
tapResult = null;
707707
}
708708

0 commit comments

Comments
 (0)