Tweaks
This commit is contained in:
parent
697de9c5f4
commit
c26c312dc0
|
@ -5,3 +5,4 @@
|
|||
/log
|
||||
stale_outputs_checked
|
||||
__pycache__
|
||||
Thoughts.iml
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
//Hide extended text
|
||||
extended.classList.add("hidden");
|
||||
//Add button to show extended text
|
||||
if (extended.textContent.length) {
|
||||
if (extended.childNodes.length) {
|
||||
const main = el.querySelector(".main");
|
||||
const showMoreButton = document.createElement("button");
|
||||
showMoreButton.appendChild(document.createTextNode("Show More"));
|
||||
|
|
Loading…
Reference in New Issue