reworked config to dynamically adjust to staging or master config value (2nd version aftert 1st lost)
This commit is contained in:
@@ -13,10 +13,7 @@ import * as UI from "./modules/ui";
|
||||
window.addEventListener('load', () => {
|
||||
// Inject JSC (jQuery Seat Charts)
|
||||
// Inject CSS for JSC, child and jQuery dialog
|
||||
Utils.inject(config.urlJSCStaging, "js", "head");
|
||||
Utils.inject(config.urlCSSJSCStaging, "css", "body");
|
||||
Utils.inject(config.urlCSSChildStaging, "css", "body");
|
||||
Utils.inject(config.urlCSSjQueryUI, "css", "body");
|
||||
Child.injectResources();
|
||||
|
||||
// Start message handler to be able to receive messages from parent
|
||||
Communication.listenToMessages(messageHandler);
|
||||
|
||||
Reference in New Issue
Block a user