[TASK] replace Freitag with Markttag for phipsi
This commit is contained in:
parent
31435e9c3b
commit
d07581aa3d
@ -5,6 +5,8 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
initSearch();
|
||||
initSidebar();
|
||||
initToggle();
|
||||
|
||||
replaceStrings();
|
||||
});
|
||||
|
||||
function initToggle() {
|
||||
@ -217,3 +219,11 @@ function initTripSidebar(triggerElement: HTMLElement) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function replaceStrings() {
|
||||
const weekdays = document.querySelectorAll('.weekday-js');
|
||||
Array.prototype.forEach.call(weekdays, (weekday: HTMLElement) => {
|
||||
//weekday.innerHTML = weekday.innerHTML.replace('Donnerstag', 'Dönerstag');
|
||||
weekday.innerHTML = weekday.innerHTML.replace('Freitag', 'Markttag');
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user