mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
commit
23848526c0
@ -105,7 +105,7 @@ export default class CalendarWidget extends RightDropdownButtonWidget {
|
|||||||
|
|
||||||
if (dateNoteId) {
|
if (dateNoteId) {
|
||||||
$newDay.addClass('calendar-date-exists');
|
$newDay.addClass('calendar-date-exists');
|
||||||
$newDay.attr("href", `#root/dateNoteId`);
|
$newDay.attr("href", `#root/${dateNoteId}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.isEqual(this.date, this.activeDate)) {
|
if (this.isEqual(this.date, this.activeDate)) {
|
||||||
|
@ -281,7 +281,7 @@ function removeDiacritic(str) {
|
|||||||
if (!str) {
|
if (!str) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
str = str.toString();
|
||||||
return str.normalize("NFD").replace(/\p{Diacritic}/gu, "");
|
return str.normalize("NFD").replace(/\p{Diacritic}/gu, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user