diff --git a/packages/text-annotator/src/SelectionHandler.ts b/packages/text-annotator/src/SelectionHandler.ts index 37cdefa2..01e3ab69 100644 --- a/packages/text-annotator/src/SelectionHandler.ts +++ b/packages/text-annotator/src/SelectionHandler.ts @@ -228,7 +228,7 @@ export const createSelectionHandler = ( selection.userSelect(currentTarget.annotation, evt); } }); - }; + } document.addEventListener('pointerdown', onPointerDown); document.addEventListener('pointerup', onPointerUp);