mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
Expand all ChatGPT prompts
This commit is contained in:
1 parent
40cdf0dc8e
commit
397c00dfa6
1 file changed
+2
-2
@@ -75,8 +75,8 @@ window.addEventListener('load', () => {
|
||||
/******** List Collapsible ***********/
|
||||
document.querySelectorAll("ul.collapsible > li > strong").forEach(function (strong) {
|
||||
let li = strong.parentElement;
|
||||
// li.classList.add("active");
|
||||
// strong.classList.toggle("arrow-down");
|
||||
li.classList.add("active");
|
||||
strong.classList.toggle("arrow-down");
|
||||
strong.addEventListener("click", function () {
|
||||
li.classList.toggle("active");
|
||||
this.classList.toggle("arrow-down");
|
||||
|
||||
Reference in new issue
Block a user