fixed Umlauts in event title and location (untested), npm run dev
This commit is contained in:
4
client/dist/inject.js
vendored
4
client/dist/inject.js
vendored
File diff suppressed because one or more lines are too long
4
client/dist/seatmap.js
vendored
4
client/dist/seatmap.js
vendored
File diff suppressed because one or more lines are too long
@@ -28,10 +28,12 @@ export function changeSiteTitle(): void {
|
|||||||
|
|
||||||
export function setEventInfo(inEventInfo: I.EventInfo): void {
|
export function setEventInfo(inEventInfo: I.EventInfo): void {
|
||||||
const inputsWithValue = config.state.inputsWithValue!;
|
const inputsWithValue = config.state.inputsWithValue!;
|
||||||
|
const desc: string = Utils.encodeCP850DecodeUTF8(inEventInfo.desc[0]);
|
||||||
|
const location: string = Utils.encodeCP850DecodeUTF8(inputsWithValue.venueLocation);
|
||||||
|
|
||||||
jQuery("#eventInfoDesc span.fl-heading-text")[0].childNodes[0].textContent = inEventInfo.desc[0];
|
jQuery("#eventInfoDesc span.fl-heading-text")[0].childNodes[0].textContent = desc;
|
||||||
|
jQuery("#eventInfoLocation p")[0].childNodes[0].textContent = location;
|
||||||
jQuery("#eventInfoDate p")[0].childNodes[0].textContent = inEventInfo.start[0];
|
jQuery("#eventInfoDate p")[0].childNodes[0].textContent = inEventInfo.start[0];
|
||||||
jQuery("#eventInfoLocation p")[0].childNodes[0].textContent = inputsWithValue.venueLocation;
|
|
||||||
jQuery("#eventInfoCapacity p")[0].childNodes[0].textContent = `Verfügbare Plätze: ${inEventInfo.seats_available} von ${inEventInfo.venue_config_capacity[0]}`;
|
jQuery("#eventInfoCapacity p")[0].childNodes[0].textContent = `Verfügbare Plätze: ${inEventInfo.seats_available} von ${inEventInfo.venue_config_capacity[0]}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user