mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 16:44:28 +00:00
Stundenplan Week Page smaller breakpoints style handling; searchbar emit action finished on default link click; month stundenplan past days use opacity-50 class; Day page height fix of right col;
This commit is contained in:
@@ -199,6 +199,11 @@ class CalendarDate {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
isInPast(d) {
|
||||
if (this.isDate(d))
|
||||
return (this.y > d.getFullYear() || this.m > d.getMonth() || this.d > d.getDate());
|
||||
return false
|
||||
}
|
||||
setLocale(locale) {
|
||||
this.weekStart = CalendarDate.getWeekStart(locale);
|
||||
}
|
||||
@@ -207,7 +212,7 @@ class CalendarDate {
|
||||
return Object.prototype.toString.call(obj) === '[object Date]';
|
||||
}
|
||||
cleanup(){
|
||||
this.watchLocale();
|
||||
if(this.watchLocale && this.watchLocale.stop) this.watchLocale.stop(); // TODO: ?
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user