From 444df1ac2ad4ae193500c841e3745df05dade464 Mon Sep 17 00:00:00 2001 From: Alexander Yakovlev Date: Sat, 14 Aug 2021 14:06:06 +0700 Subject: [PATCH] Bootstrap 5 containers --- html/index.html | 4 ++-- js/script.js | 6 ++++++ scss/style.scss | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/html/index.html b/html/index.html index 048b522..5039537 100644 --- a/html/index.html +++ b/html/index.html @@ -10,8 +10,8 @@
-
-
+
+
diff --git a/js/script.js b/js/script.js index 0031d53..4fc1888 100644 --- a/js/script.js +++ b/js/script.js @@ -112,3 +112,9 @@ jQuery(document).on('click', "#options li a", function() { continueToNextChoice(s); return false; }); +jQuery(document).on('click', "#options li", function() { + s.ChooseChoiceIndex(jQuery(this).find('a').data("index")); + saveChoice(jQuery(this).data("index")); + continueToNextChoice(s); + return false; +}); diff --git a/scss/style.scss b/scss/style.scss index b133e80..21cfc10 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -44,6 +44,7 @@ $warning-color: darkred; @import 'bootstrap/scss/reboot'; @import 'bootstrap/scss/type'; @import 'bootstrap/scss/images'; +@import 'bootstrap/scss/containers'; @import 'bootstrap/scss/grid'; @import 'bootstrap/scss/buttons'; @import 'bootstrap/scss/transitions';