mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1933032 [[Viewer] Using comma in reference doesn't work](https://bugs.launchpad.net/calibre/+bug/1933032)
This commit is contained in:
parent
a0e2b1c5b0
commit
f77a5f5c1a
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user