[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();
|
initSearch();
|
||||||
initSidebar();
|
initSidebar();
|
||||||
initToggle();
|
initToggle();
|
||||||
|
|
||||||
|
replaceStrings();
|
||||||
});
|
});
|
||||||
|
|
||||||
function initToggle() {
|
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