revised ui
This commit is contained in:
@@ -2,7 +2,7 @@ import * as I from "../types/types";
|
||||
import { config } from "./config";
|
||||
import * as State from "./state";
|
||||
import * as Cart from "./cart";
|
||||
import * as UI from "./ui";
|
||||
import * as CartButtons from "./cartButtons";
|
||||
|
||||
export function getSeats(): I.JSCSeats {
|
||||
const seatmapXML: any = config.state.seatmapXML;
|
||||
@@ -242,7 +242,7 @@ function clickAvailableSeat(inSeatmap: any) {
|
||||
|
||||
State.addSeatToState(selectedSeat);
|
||||
Cart.calcOverallPrice();
|
||||
UI.setBtnCartText();
|
||||
CartButtons.setBtnCartText();
|
||||
|
||||
return "selected";
|
||||
}
|
||||
@@ -251,7 +251,7 @@ function clickedSelectedSeat(inSeatmap: any) {
|
||||
const selectedSeat: I.JSCSelectedSeat = inSeatmap.settings;
|
||||
State.removeSeatFromState(selectedSeat);
|
||||
Cart.calcOverallPrice();
|
||||
UI.setBtnCartText();
|
||||
CartButtons.setBtnCartText();
|
||||
|
||||
return "available";
|
||||
}
|
||||
Reference in New Issue
Block a user