Fixes issues with wallet-menu on handheld devices

This commit is contained in:
Igor Kuzmenko 2017-07-19 13:02:49 +02:00
parent 9e622be29f
commit d0ada511d0
4 changed files with 33 additions and 156 deletions

View file

@ -367,8 +367,6 @@ function walletMenuListener(e) {
if (tt.nodeName === 'LI') addClass(tt, 'active');
tt = tt.parentNode;
}
walletShowPlatform(t.getAttribute('data-walletcompat'));
if (isMobile() && !hasSubItems(t)) scrollToNode(document.getElementById('wallets'));
},
hasSubItems = function(t) {
while (t.nodeName !== 'LI') t = t.parentNode;