File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ <h3>Things You Should Know</h3>
202202 </ ol >
203203 </ span >
204204 </ div >
205- < div class ="expander-top ">
205+ < div class ="expander-top clickable " onclick =" expandCard(this, flipTalk) " id =" flipTalkTop ">
206206 < div >
207207 < p >
208208 < h3 > Technicalities</ h3 >
@@ -211,7 +211,7 @@ <h3>Technicalities</h3>
211211 </ div >
212212 < img class ="chevron " style ="float: right; " src ="img/ui/Chevron Down.svg " alt ="UI element - Chevron ">
213213 </ div >
214- < div class ="expander-bottom ">
214+ < div class ="expander-bottom " id =" flipTalk " >
215215 < p >
216216 < ul >
217217 < li > < b > Presentation models:</ b > </ li >
Original file line number Diff line number Diff line change @@ -64,6 +64,10 @@ function setupExpanders() {
6464 const expanders = document . querySelectorAll ( '.expander-top' ) ;
6565
6666 expanders . forEach ( ( expander , index ) => {
67+ // Skip if already has an ID
68+ if ( expander . id )
69+ return ;
70+
6771 // Remove any existing ID
6872 const oldId = expander . id ;
6973 const contentId = oldId ?
You can’t perform that action at this time.
0 commit comments