Skip to content

Commit

Permalink
Fix CodeQL scanning issue test 4
Browse files Browse the repository at this point in the history
Tryng to pass CodeQL security check on unvalidated dynamic method call and DOM text as HTML problem.

ISSUE: ADPM-70
  • Loading branch information
filipkojic committed Oct 7, 2024
1 parent 35b65b6 commit 8859a31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/js/ElementGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ if (!window.AdyenFE) {
hiddenInput.value = storeId;
updateTextOnChange && (switchButton.firstElementChild.textContent = listItem.innerText);


list.classList.remove('adls--show');

listItems.forEach((li) => li.classList.remove('adls--selected'));
Expand Down

0 comments on commit 8859a31

Please sign in to comment.