From 86001b48232eee9bdfb3802d0cdd124f46c54288 Mon Sep 17 00:00:00 2001 From: Rainer Simon Date: Sun, 27 Feb 2022 09:09:34 +0100 Subject: [PATCH] Closes #102 --- src/Selection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Selection.js b/src/Selection.js index 1c0680a..b8a2648 100644 --- a/src/Selection.js +++ b/src/Selection.js @@ -74,7 +74,7 @@ export default class Selection { /** Shorthand for the 'exact' field of the TextQuoteSelector **/ get quote() { - return this.selector('TextQuoteSelector').exact; + return this.selector('TextQuoteSelector')?.exact; } /*******************************************/