mirror of
https://github.com/zadam/trilium.git
synced 2025-12-22 15:24:24 +01:00
chore(right_pane): fix regression in highlights_list
This commit is contained in:
parent
1e885625f6
commit
d7b370253d
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user