X-Git-Url: https://git.xangelo.ca/?p=sketchy-heroes.git;a=blobdiff_plain;f=src%2Fpublic%2Fapp%2Fcomponents.ts;fp=src%2Fpublic%2Fapp%2Fcomponents.ts;h=1e986d6c177db55e4a03c96d3b499216672bd046;hp=f358427f4b6ebee651fbb3db11b416e8a83a2d5c;hb=7aa7248bc4f3f59a002beb98fa889a9da3c25866;hpb=9cec2c639563092ed050716db1e7e4657f937bf5 diff --git a/src/public/app/components.ts b/src/public/app/components.ts index f358427..1e986d6 100644 --- a/src/public/app/components.ts +++ b/src/public/app/components.ts @@ -20,5 +20,5 @@ export function progressBar(current: number, max: number, options: ProgressBarOp export function actionLog(text: string, replace: boolean = true) { const str = `
${text}
`; - replace ? $(`#action-log`).html(str): $(`#action-log`).prepend(str); + replace ? $(`#action-log`).html(str): $(`#action-log`).append(str); }