Skip to content

Commit

Permalink
Fixed dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Shmuli authored and Shmuli committed Feb 1, 2018
1 parent eb18bd6 commit 69187b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/components/Dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Dropdown {
if (el.btn.classList.value.includes('js-collapse-all') === true) {
item.setAttribute('data-item-dropdown', 'close');
instance.removeCode(item);
} else {
} else if (item.getAttributeNode('data-item-dropdown').value != 'open') {
item.setAttribute('data-item-dropdown', 'open');
instance.loadCode(item);

Expand Down

0 comments on commit 69187b7

Please sign in to comment.