Fix compatibility with PS3 and fix visual bugs

This commit is contained in:
relt-1
2023-09-24 09:58:47 +02:00
parent 0437a3ea35
commit 74cf63465d
9 changed files with 216 additions and 36 deletions

View File

@@ -6,8 +6,23 @@
function toggleTree(element)
{
element.parentElement.querySelector(".nested").classList.toggle("active");
element.classList.toggle("active");
const nested = element.parentElement.querySelector(".nested");
if(nested.className.indexOf("active",0) != -1)
{
nested.className = "nested";
}
else
{
nested.className = "nested active";
}
if(element.className.indexOf("active",0) != -1)
{
element.className = ""
}
else
{
element.className = "active"
}
}
function updateSearch() {
@@ -65,10 +80,14 @@ li ::marker {
display:none;
}
li {
list-style-type: none !important;
}
li b::before{
content:'+';
width:12px;
height:8px;
height:100%;
display: inline-block;
font-weight: 500;
}
@@ -78,7 +97,7 @@ li b.active::before
{
content: '-';
width:12px;
height:8px;
height:100%;
display: inline-block;
font-weight: 500;
}
@@ -128,6 +147,7 @@ li b {
</nav>
</div>
<div style="margin-left:200px;">
<p id="errorp"></p>
<h1>Lua Objects</h1>
<p>Objects store a number of variables and functions which are defined in the class the object comes from. They kind of act like tables but are not modifiable. Meaning, if you wanted to make a new variable or function inside an object, you would get an error.</p>