Skip to content

Commit

Permalink
When displaying password menu, make sure it isn't hidden by scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
Wladimir Palant committed Sep 16, 2016
1 parent bdd3020 commit 712c521
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/panel/passwordList.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ function showMenu(password, element)
menuPassword = password;
element.parentNode.insertBefore(menu, element.nextSibling);
element.querySelector(".password-menu-link").setAttribute("data-menuactive", "true");
menu.scrollIntoView(false);
}

function hideMenu()
Expand Down

0 comments on commit 712c521

Please sign in to comment.