Skip to content

Commit

Permalink
fix: don't change buttons order in actionbar More popover (#154)
Browse files Browse the repository at this point in the history
Co-authored-by: valentyn.kurlian <valentyn.kurlian@pidoco.com>
  • Loading branch information
vkurlyan and valentyn.kurlian committed Mar 5, 2021
1 parent 589ac32 commit 333ea08
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class ActionBarSecondary extends ActionBarContainer(BaseComponent(HTMLElement))
let item = null;
let wrappedItem = null;

for (let i = 0 ; i < this._itemsInPopover.length ; i++) {
for (let i = this._itemsInPopover.length - 1 ; i >= 0 ; i--) {
item = this._itemsInPopover[i];

item.style.visibility = 'hidden';
Expand Down

0 comments on commit 333ea08

Please sign in to comment.