Skip to content

Commit 80c1b0e

Browse files
committed
Fix: Error attempting to open the bookmarks menu after navigating to a bookmark
1 parent 97b50f3 commit 80c1b0e

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## v1.3.2 (dd-mm-yyyy)
7+
## v1.4.0 (dd-mm-yyyy)
88

99
##### 🚀 New Features
1010

@@ -23,6 +23,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
2323
- Save image not saving the correct page in manga mode [`b14a26e`](https://github.com/ollm/OpenComic/commit/b14a26eacdc77d37cdeb578fc203438058c7c5e2)
2424
- Sometimes right click on reading fails [`b14a26e`](https://github.com/ollm/OpenComic/commit/1a8e145a997c67494e1a6c70c5f73acee7720000)
2525
- Avoid generating thumbnails of images that are still being extracted (Extractions with 7-Zip) [`c415b3f`](https://github.com/ollm/OpenComic/commit/c415b3f0f6eb4bd6eb1bdd6cdd8a191b809df91e)
26+
- Error attempting to open the bookmarks menu after navigating to a bookmark
2627

2728
## [v1.3.1](https://github.com/ollm/OpenComic/releases/tag/v1.3.1) (05-10-2024)
2829

scripts/opencomic.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -920,12 +920,12 @@ function showAboutWindow()
920920

921921
function escapeBackSlash(string)
922922
{
923-
return string.replace(/\\/g, '\\\\');
923+
return (string || '').replace(/\\/g, '\\\\');
924924
}
925925

926926
function invertBackslash(string)
927927
{
928-
return string.replace(/\\+/g, '/');
928+
return (string || '').replace(/\\+/g, '/');
929929
}
930930

931931
function encodeSrcURI(string)

0 commit comments

Comments
 (0)