Skip to content

Commit

Permalink
Merge pull request #29 from eduard-deriv/master
Browse files Browse the repository at this point in the history
feat: diel show/hide
  • Loading branch information
ali-hosseini-deriv authored Jun 26, 2024
2 parents ef2f7f6 + f4fc92c commit 901687a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/js/footer/footerComponent/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ hideElems.forEach(array => {
? !array.countries.includes(clientsCountry)
: array.countries.includes(clientsCountry);

if (!shouldHide) {
const dielIcons = document.querySelector('.footer_social-icons.diel');

if (dielIcons) {
dielIcons.style.display = 'flex';
}
}

if (clientsCountry && shouldHide) {
array.selectors.forEach(selectorString => {
const selectors = document.querySelectorAll(selectorString);
Expand Down

0 comments on commit 901687a

Please sign in to comment.