diff --git a/src/pyj/read_book/iframe.pyj b/src/pyj/read_book/iframe.pyj index 860fae7e13..e2ac24a262 100644 --- a/src/pyj/read_book/iframe.pyj +++ b/src/pyj/read_book/iframe.pyj @@ -648,6 +648,7 @@ class IframeBoss: window.getSelection().removeAllRanges() self.annot_id_uuid_map[annot_id] = data.uuid self.send_message('annotations', type='highlight-applied', uuid=data.uuid, ok=annot_id is not None, bounds=bounds) + reset_find_caches() else: console.log('Ignoring annotations message to iframe with unknown type: ' + data.type)