From 1eab373b246808f5d2e97f29aaaa6c6d853eec73 Mon Sep 17 00:00:00 2001 From: SteveSamJacob19 Date: Mon, 11 Mar 2024 11:22:36 +0530 Subject: [PATCH 1/9] Fixed jumping of content --- src/main/content/_assets/js/tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/content/_assets/js/tabs.js b/src/main/content/_assets/js/tabs.js index 41b0711e9b..563999c5b9 100644 --- a/src/main/content/_assets/js/tabs.js +++ b/src/main/content/_assets/js/tabs.js @@ -66,7 +66,7 @@ $(document).ready(function() { // get class of clicked tab and class of its respective content section var class_list = this.classList; for (var i = 0; i < class_list.length; i++) { - var class_name = class_list[i]; + class_name = class_list[i]; if (class_name !== "tab_link" && class_name.indexOf("_link") > -1) { var tab_content = "." + class_name.replace("link", "section"); var tab_class = "." + class_name; From 0be67bf20e0044f1c1fc9f78c8a1daa3cd7b8e33 Mon Sep 17 00:00:00 2001 From: natalie-bernhard Date: Mon, 18 Mar 2024 11:22:48 -0500 Subject: [PATCH 2/9] Revert "Fixed jumping of content" This reverts commit 0d90a87b767dae6c88fd3c9f9a5f3bac73cd1887. --- src/main/content/_assets/js/tabs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/content/_assets/js/tabs.js b/src/main/content/_assets/js/tabs.js index 563999c5b9..993f1f2e8c 100644 --- a/src/main/content/_assets/js/tabs.js +++ b/src/main/content/_assets/js/tabs.js @@ -66,12 +66,13 @@ $(document).ready(function() { // get class of clicked tab and class of its respective content section var class_list = this.classList; for (var i = 0; i < class_list.length; i++) { - class_name = class_list[i]; + var class_name = class_list[i]; if (class_name !== "tab_link" && class_name.indexOf("_link") > -1) { var tab_content = "." + class_name.replace("link", "section"); var tab_class = "." + class_name; } } + // show content of clicked tab and add active class to clicked tab $(this).parent().find('.tab_content' + tab_content).show(); $(this).parent().find('.tab_link' + tab_class).addClass("active"); From faed58a6a246783d148426e89f1fa72a128fd483 Mon Sep 17 00:00:00 2001 From: natalie-bernhard Date: Mon, 25 Mar 2024 09:43:53 -0500 Subject: [PATCH 3/9] Revert "Revert "Fixed jumping of content"" This reverts commit 3307a9fb89727ed920a12b3f3e7605e34c46d891. --- src/main/content/_assets/js/tabs.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/content/_assets/js/tabs.js b/src/main/content/_assets/js/tabs.js index 993f1f2e8c..563999c5b9 100644 --- a/src/main/content/_assets/js/tabs.js +++ b/src/main/content/_assets/js/tabs.js @@ -66,13 +66,12 @@ $(document).ready(function() { // get class of clicked tab and class of its respective content section var class_list = this.classList; for (var i = 0; i < class_list.length; i++) { - var class_name = class_list[i]; + class_name = class_list[i]; if (class_name !== "tab_link" && class_name.indexOf("_link") > -1) { var tab_content = "." + class_name.replace("link", "section"); var tab_class = "." + class_name; } } - // show content of clicked tab and add active class to clicked tab $(this).parent().find('.tab_content' + tab_content).show(); $(this).parent().find('.tab_link' + tab_class).addClass("active"); From 889627eb7050e60c11dc0fb3a802c3ec98b2e1fa Mon Sep 17 00:00:00 2001 From: natalie-bernhard Date: Mon, 18 Mar 2024 11:22:48 -0500 Subject: [PATCH 4/9] Revert "Fixed jumping of content" This reverts commit 0d90a87b767dae6c88fd3c9f9a5f3bac73cd1887. --- src/main/content/_assets/js/tabs.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/content/_assets/js/tabs.js b/src/main/content/_assets/js/tabs.js index 563999c5b9..a1d969cbe7 100644 --- a/src/main/content/_assets/js/tabs.js +++ b/src/main/content/_assets/js/tabs.js @@ -72,6 +72,7 @@ $(document).ready(function() { var tab_class = "." + class_name; } } + // show content of clicked tab and add active class to clicked tab $(this).parent().find('.tab_content' + tab_content).show(); $(this).parent().find('.tab_link' + tab_class).addClass("active"); From 1d8ebef9d57c7dc8966b331811da97e11e8d84e1 Mon Sep 17 00:00:00 2001 From: natalie-bernhard Date: Mon, 25 Mar 2024 09:43:53 -0500 Subject: [PATCH 5/9] Revert "Revert "Fixed jumping of content"" This reverts commit 3307a9fb89727ed920a12b3f3e7605e34c46d891. --- src/main/content/_assets/js/tabs.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/content/_assets/js/tabs.js b/src/main/content/_assets/js/tabs.js index a1d969cbe7..563999c5b9 100644 --- a/src/main/content/_assets/js/tabs.js +++ b/src/main/content/_assets/js/tabs.js @@ -72,7 +72,6 @@ $(document).ready(function() { var tab_class = "." + class_name; } } - // show content of clicked tab and add active class to clicked tab $(this).parent().find('.tab_content' + tab_content).show(); $(this).parent().find('.tab_link' + tab_class).addClass("active"); From f777ccfffafe4adf0ee6fd94015418c9ef9d7ee8 Mon Sep 17 00:00:00 2001 From: natalie-bernhard Date: Mon, 3 Jun 2024 08:18:20 -0500 Subject: [PATCH 6/9] set ffi version during ruby install --- scripts/build/ruby_install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build/ruby_install.sh b/scripts/build/ruby_install.sh index d6145bac1b..ec20c76bd1 100755 --- a/scripts/build/ruby_install.sh +++ b/scripts/build/ruby_install.sh @@ -32,6 +32,7 @@ gem install jekyll-multiple-languages-plugin gem install bundler -v 2.4.22 gem install faraday -v 2.8.1 gem install faraday-net_http -v 3.0.2 +gem install ffi -v 1.17.0 gem install jekyll-feed jekyll-asciidoc jekyll-include-cache coderay octokit timer_end=$(date +%s) From 32a57640693777fcdd9c1263e81cdd2617267f5a Mon Sep 17 00:00:00 2001 From: natalie-bernhard Date: Mon, 3 Jun 2024 08:36:15 -0500 Subject: [PATCH 7/9] move versioning before jekyll download --- scripts/build/ruby_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/ruby_install.sh b/scripts/build/ruby_install.sh index ec20c76bd1..9ce9931b50 100755 --- a/scripts/build/ruby_install.sh +++ b/scripts/build/ruby_install.sh @@ -26,13 +26,13 @@ rvm use 2.7.6 --default echo "Ruby version:" echo `ruby -v` +gem install ffi -v 1.17.0 gem install jekyll -v 3.8.6 gem install jekyll-assets -v 2.4.0 gem install jekyll-multiple-languages-plugin gem install bundler -v 2.4.22 gem install faraday -v 2.8.1 gem install faraday-net_http -v 3.0.2 -gem install ffi -v 1.17.0 gem install jekyll-feed jekyll-asciidoc jekyll-include-cache coderay octokit timer_end=$(date +%s) From e9623d40566dca39b7e47294841fb2e1891ddfae Mon Sep 17 00:00:00 2001 From: natalie-bernhard Date: Mon, 3 Jun 2024 08:47:07 -0500 Subject: [PATCH 8/9] back up another version --- scripts/build/ruby_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/ruby_install.sh b/scripts/build/ruby_install.sh index 9ce9931b50..53d13a5d63 100755 --- a/scripts/build/ruby_install.sh +++ b/scripts/build/ruby_install.sh @@ -26,7 +26,7 @@ rvm use 2.7.6 --default echo "Ruby version:" echo `ruby -v` -gem install ffi -v 1.17.0 +gem install ffi -v 1.16.3 gem install jekyll -v 3.8.6 gem install jekyll-assets -v 2.4.0 gem install jekyll-multiple-languages-plugin From 7b3acce78dfca82fc1cbf7b1136842f7074ec8fd Mon Sep 17 00:00:00 2001 From: natalie-bernhard Date: Mon, 3 Jun 2024 09:41:35 -0500 Subject: [PATCH 9/9] remove change --- src/main/content/_assets/js/tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/content/_assets/js/tabs.js b/src/main/content/_assets/js/tabs.js index 563999c5b9..41b0711e9b 100644 --- a/src/main/content/_assets/js/tabs.js +++ b/src/main/content/_assets/js/tabs.js @@ -66,7 +66,7 @@ $(document).ready(function() { // get class of clicked tab and class of its respective content section var class_list = this.classList; for (var i = 0; i < class_list.length; i++) { - class_name = class_list[i]; + var class_name = class_list[i]; if (class_name !== "tab_link" && class_name.indexOf("_link") > -1) { var tab_content = "." + class_name.replace("link", "section"); var tab_class = "." + class_name;