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:
Johann Hoffmann
2025-01-31 14:09:05 +01:00
parent b855c404e4
commit c1918726df
12 changed files with 57 additions and 47 deletions
+6 -1
View File
@@ -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: ?
}
}
/**