From 72f6367d8e1641c82c327fa0257f743b3043b17e Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 15 Apr 2020 19:40:06 -0700 Subject: [PATCH] update from sparkleup --- writing/post-self/qoheleth/.index.html.swp | Bin 24576 -> 24576 bytes writing/post-self/qoheleth/index.html | 10 +++++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/writing/post-self/qoheleth/.index.html.swp b/writing/post-self/qoheleth/.index.html.swp index 5cab19e83e2fff24dbc41dfb801ec1ba186a8f55..f118c28643f70f3f3e7d85b907e685550512085b 100644 GIT binary patch delta 313 zcmZoTz}RqrQ9Q{Y%+puFLeG!^2m}}yyb6%uTU3lj4bl5-M^i*1!4%9QME^g*I_3M$p9 zIeKvAwF%af8_ZwvB`4-2YZ#gplxP|18EH<=vvA;rT40rwnwDQQd9#Hs8-%&}zJ;PX E03yFo!9FpKE0K4fKJ*gKii zAU*9Y2Lr=SAl?qdvw^rBh+BcU0EnZ2*ae84fY=g @@ -254,14 +254,14 @@ document.querySelectorAll('li').forEach(el => { if (el.querySelectorAll('li').length !== 0) { el.classList.add('has-nested', 'closed'); + el.innerHTML = ` ${el.innerHTML}`; } }); document.querySelectorAll('li.has-nested').forEach(el => { - el.querySelector(':before').addEventListener('click', () => { + el.querySelector('.toggle').addEventListener('click', () => { el.classList.toggle('closed'); }); }); -