mirror of
https://github.com/celisej567/wiki.git
synced 2026-09-21 20:08:53 +03:00
Fix compatibility with PS3 and fix visual bugs
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user