diff --git a/js/ui/calendar.js b/js/ui/calendar.js index 2f1fac03b..b79045e8f 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -1198,6 +1198,10 @@ const EventMessage = new Lang.Class({ title = title + ELLIPSIS_CHAR; } return title; + }, + + canClose: function() { + return _isToday(this._date); } });