Merge pull request 'staging' (#12) from staging into master

Reviewed-on: http://localhost:3000/zino/seatmapv2/pulls/12
This commit is contained in:
zino
2021-05-31 16:13:40 +02:00
3 changed files with 5 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ div.seatCharts-seat.unavailable {
}
#JSCLegendInner select option {
color: white;
color: #5c5c5c;
}
.jBox-Notice .jBox-content {

View File

@@ -75,9 +75,10 @@ function appendLegendOptions(inElement: HTMLElement, inSelect: JQuery<HTMLSelect
});
}
function appendLegendOption(inSelect: JQuery<HTMLSelectElement>, inClassName: string, inVal: string, inText: string): void {
function appendLegendOption(inSelect: JQuery<HTMLSelectElement>, inClass: string, inVal: string, inText: string): void {
let option: JQuery<HTMLOptionElement> = jQuery('<option/>');
option.attr({ 'value': inVal, 'class': inClassName }).text(inText);
option.attr({ 'value': inVal, 'data-class': inClass }).text(inText);
// option.attr({ 'value': inVal, 'class': inClass }).text(inText); // add class to color dropdown bg
inSelect.append(option);
}

View File

@@ -29,7 +29,7 @@ export function changeSiteTitle(): void {
export function setEventInfo(inEventInfo: I.EventInfo): void {
const inputsWithValue = config.state.inputsWithValue!;
const desc: string = Utils.encodeCP850DecodeUTF8(inEventInfo.desc[0]);
const location: string = Utils.encodeCP850DecodeUTF8(inputsWithValue.venueLocation);
const location: string = inputsWithValue.venueLocation;
jQuery("#eventInfoDesc span.fl-heading-text")[0].childNodes[0].textContent = desc;
jQuery("#eventInfoLocation p")[0].childNodes[0].textContent = location;