@@ -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 " id =" aaReimBtn " 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 " id =" aaV4Btn " 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+ document . getElementById ( "aaReimBtn" ) . addEventListener ( "click" , function ( ) {
486485 Array . from ( document . getElementsByClassName ( "cenR" ) ) . forEach ( function ( current , r , arr ) {
487486 var i = r + 1 ;
488487 var txtFile = new XMLHttpRequest ( ) ;
@@ -500,13 +499,12 @@ <h1>Changelogs</h1>
500499 } ) ;
501500 } , { once : true } ) ;
502501
503- var accV4 = document . getElementsByClassName ( "aaV4Btn" ) ;
504- accV4 [ 0 ] . addEventListener ( "click" , function ( ) {
502+ document . getElementById ( "aaV4Btn" ) . addEventListener ( "click" , function ( ) {
505503 Array . from ( document . getElementsByClassName ( "cenV4" ) ) . forEach ( function ( current , v , arr ) {
506504 var i = v + 1 ;
507505 var txtFile = new XMLHttpRequest ( ) ;
508506 var allText = "Entry can not be loaded." ;
509- txtFile . onreadystatechange = async function ( ) {
507+ txtFile . onreadystatechange = function ( ) {
510508 if ( txtFile . readyState === XMLHttpRequest . DONE && txtFile . status == 200 ) {
511509 allText = txtFile . responseText ;
512510 allText = allText . split ( "\n" ) . join ( "<br>" ) ;
0 commit comments