Skip to content

Commit fdfba38

Browse files
committed
Revert "Changelogs page: Try to improve load time again and add click animation"
This reverts commit 502c66f.
1 parent 502c66f commit fdfba38

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

assets/css/style.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -552,10 +552,6 @@ select {
552552
border-color: var(--ThemeColor);
553553
}
554554

555-
.aaccordion:active {
556-
border-color: var(--VeryLightGray);
557-
}
558-
559555
.apanel {
560556
margin: 0px 72px;
561557
background-color: var(--VeryDarkGray);

changelogs/index.html

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ <h1>Changelogs</h1>
9696
<br>Following is a list of changes made to Complementary products with possible exceptions</p>
9797
<p></p>
9898

99-
<button class="aaccordion aaReimBtn" style="--ThemeColor: var(--ReimaginedColor);">Complementary Reimagined</button>
99+
<button class="aaccordion" style="--ThemeColor: var(--ReimaginedColor);">Complementary Reimagined</button>
100100
<div class="apanel" style="margin-bottom: 40px; --ThemeColor: var(--ReimaginedColor);">
101101
<p></p>
102102
<p></p>
@@ -157,7 +157,7 @@ <h1>Changelogs</h1>
157157
<p></p>
158158
<p></p>
159159
</div>
160-
<button class="aaccordion aaV4Btn" style="--ThemeColor: var(--VersionFourColor);">Complementary Shaders v4</button>
160+
<button class="aaccordion" style="--ThemeColor: var(--VersionFourColor);">Complementary Shaders v4</button>
161161
<div class="apanel" style="margin-bottom: 40px; --ThemeColor: var(--VersionFourColor);">
162162
<p></p>
163163
<p></p>
@@ -481,8 +481,7 @@ <h1>Changelogs</h1>
481481
</section><!-- /.section-features -->
482482

483483
<script>
484-
var accR = document.getElementsByClassName("aaReimBtn");
485-
accR[0].addEventListener("click", function() {
484+
function load() {
486485
var cenR = document.getElementsByClassName("cenR");
487486
var i;
488487
for (i = 1; i < cenR.length + 1; i++) {
@@ -499,10 +498,7 @@ <h1>Changelogs</h1>
499498
txtFile.open("GET", "/changelogs/reimagined-ch/r"+i+".txt", false);
500499
txtFile.send(null);
501500
}
502-
}, {once : true});
503501

504-
var accV4 = document.getElementsByClassName("aaV4Btn");
505-
accV4[0].addEventListener("click", function() {
506502
var cenV4 = document.getElementsByClassName("cenV4");
507503
var i;
508504
for (i = 1; i < cenV4.length + 1; i++) {
@@ -519,7 +515,8 @@ <h1>Changelogs</h1>
519515
txtFile.open("GET", "/changelogs/version4-ch/v4"+i+".txt", false);
520516
txtFile.send(null);
521517
}
522-
}, {once : true});
518+
}
519+
window.onLoad = load();
523520

524521
var acc = document.getElementsByClassName("aaccordion");
525522
var i;

0 commit comments

Comments
 (0)