Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

11 wiersze
309 B

  1. /**
  2. * Copyright © Magento, Inc. All rights reserved.
  3. * See COPYING.txt for license details.
  4. */
  5. function showSection(section) {
  6. document.querySelectorAll('section').forEach(function (element) {
  7. element.style.display = element.getAttribute('data-section') === section ? null : 'none';
  8. })
  9. }