Fix #1933032 [[Viewer] Using comma in reference doesn't work](https://bugs.launchpad.net/calibre/+bug/1933032)

This commit is contained in:
Kovid Goyal 2021-06-22 08:17:38 +05:30
parent a0e2b1c5b0
commit f77a5f5c1a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -99,6 +99,7 @@ def create_location_overlay(current_position_data, book, overlay, container):
'No location {} found').format(cfi))
def goto_ref(ref):
ref = ref.replace(/,/g, '.')
if ui_operations.goto_reference(ref):
overlay.hide()
else: