Skip to content

Commit

Permalink
code change added
Browse files Browse the repository at this point in the history
  • Loading branch information
omprakashgupta1995 committed Oct 3, 2024
1 parent 720391e commit a3c5663
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions blocks/accordion/accordion.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { fetchAPI } from "../../scripts/scripts.js";
console.log('Accordian');

/* this function also gets called by accordion-group */
export function generateAccordionDOM(block) {
Expand All @@ -23,11 +24,11 @@ export function generateAccordionDOM(block) {
elementDiv.innerHTML = elementText;
}


details.append(elementDiv);
}
});

return details;
}

Expand Down Expand Up @@ -55,7 +56,7 @@ function KYCDocuments(data) {
<td style=" text-align: right;"><img src="${each.rowtwoimg}" alt=""></td>`
: "";
html +=
`<table class="${each.class} " cellpadding="1" cellspacing="0" border="1">
`<table class="${each.class} " cellpadding="1" cellspacing="0" border="1">
<tbody>
<tr>
<th style="text-align: left;">${each.title}
Expand Down

0 comments on commit a3c5663

Please sign in to comment.