replaced console.log, installed envify, added appendVersion

This commit is contained in:
zino
2021-05-23 12:17:45 +02:00
parent 9580b81d22
commit 6d40613e64
16 changed files with 167 additions and 102 deletions

View File

@@ -96,4 +96,9 @@ export function adjustUIToLoading(): void {
CartButtons.showHideBtnCartLoading("show");
jQuery("#modalCart i").hide();
jQuery("#modalCart .uabb-button-text").addClass("dot-pulse");
}
export function appendVersion(): void {
jQuery("#bottomHTMLVersion")[0].innerText = config.version;
jQuery("#bottomHTMLBranch")[0].innerText = `(${config.branch})`;
}