mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-06-22 23:45:02 +00:00
🤖 format everything with pre-commit by <stirlingbot> (#3347)
Auto-generated by [create-pull-request][1] with **stirlingbot** [1]: https://github.com/peter-evans/create-pull-request Signed-off-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com> Co-authored-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com>
This commit is contained in:
parent
485fc65798
commit
9f5f333f57
@ -331,7 +331,7 @@ window.addEventListener('load', (e) => {
|
|||||||
document.selection.empty();
|
document.selection.empty();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
viewer.onmouseup = (e) => {
|
viewer.onmouseup = (e) => {
|
||||||
if (redactionMode !== RedactionModes.TEXT) return;
|
if (redactionMode !== RedactionModes.TEXT) return;
|
||||||
const containsText = window.getSelection() && window.getSelection().toString() != '';
|
const containsText = window.getSelection() && window.getSelection().toString() != '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user