mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
client: Prevent dismissing the calendar popup by clicking on an empty space inside it
This commit is contained in:
@@ -128,7 +128,10 @@ export default class CalendarWidget extends RightDropdownButtonWidget {
|
|||||||
else {
|
else {
|
||||||
toastService.showError(t("calendar.cannot_find_day_note"));
|
toastService.showError(t("calendar.cannot_find_day_note"));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Prevent dismissing the calendar popup by clicking on an empty space inside it.
|
||||||
|
this.$dropdownContent.on("click", (e) => e.stopPropagation());
|
||||||
}
|
}
|
||||||
|
|
||||||
manageFirstDayOfWeek() {
|
manageFirstDayOfWeek() {
|
||||||
|
|||||||
Reference in New Issue
Block a user