[TASK] replace Freitag with Markttag for phipsi
This commit is contained in:
parent
c23d22d027
commit
df26112820
@ -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