init
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
function showSection(section) {
|
||||
document.querySelectorAll('section').forEach(function (element) {
|
||||
element.style.display = element.getAttribute('data-section') === section ? null : 'none';
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user