chore(right_pane): fix regression in highlights_list

This commit is contained in:
Elian Doran 2025-12-20 13:00:13 +02:00
parent 1e885625f6
commit d7b370253d
No known key found for this signature in database

View File

@ -234,7 +234,7 @@ export default class HighlightsListWidget extends RightPanelWidget {
} }
findSubStr = findSubStr.substring(1); findSubStr = findSubStr.substring(1);
combinedRegexStr = `(${combinedRegexStr.substring(1)}`; combinedRegexStr = `(${combinedRegexStr.substring(1)})`;
const combinedRegex = new RegExp(combinedRegexStr, "gi"); const combinedRegex = new RegExp(combinedRegexStr, "gi");
const $highlightsList = $("<ol>"); const $highlightsList = $("<ol>");
let prevEndIndex = -1, let prevEndIndex = -1,