From c4e761e6bd864021b7ce18dbb98c148c8f380f6e Mon Sep 17 00:00:00 2001 From: bertieb Date: Sat, 27 Feb 2021 18:15:33 +0000 Subject: [PATCH] (feat: tabs) Set up tabs and content divs --- src/ts/frontend.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/ts/frontend.ts b/src/ts/frontend.ts index 5aa8ad2..846846d 100644 --- a/src/ts/frontend.ts +++ b/src/ts/frontend.ts @@ -504,10 +504,34 @@ async function getResults():Promise{ let maxDice = 10; let cutoffStart = 6; let cutoffMax = 9; + + /** + * At present, add variants (success cutoffs) to different tabs + * note: this may change to separating classes by tabs + * + * ref: https://getbootstrap.com/docs/5.0/components/navs-tabs/#javascript-behavior + */ + + // Add tab navigation container (