mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-03 07:04:34 +02:00
Reset search cache when applying highlight
This commit is contained in:
parent
be78740efe
commit
73a08a9e15
1 changed files with 1 additions and 0 deletions
|
|
@ -648,6 +648,7 @@ def annotations_msg_received(self, data):
|
|||
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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue