mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Avoid updating wallets when de-selecting a menu entry
This commit is contained in:
parent
be18e564c9
commit
f21f495948
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ function walletMenuListener(e) {
|
||||||
var t = getEventTarget(e),
|
var t = getEventTarget(e),
|
||||||
walletSelectPlatform = function() {
|
walletSelectPlatform = function() {
|
||||||
if (t.nodeName != 'A') return;
|
if (t.nodeName != 'A') return;
|
||||||
walletShowPlatform(t.getAttribute('data-walletcompat'));
|
if (t.parentNode.className.indexOf('active') !== -1) walletShowPlatform(t.getAttribute('data-walletcompat'));
|
||||||
if (isMobile() && t.parentNode.getElementsByTagName('UL').length == 0) scrollToNode(document.getElementById('wallets'));
|
if (isMobile() && t.parentNode.getElementsByTagName('UL').length == 0) scrollToNode(document.getElementById('wallets'));
|
||||||
};
|
};
|
||||||
// Pre-process events and call appropriate function.
|
// Pre-process events and call appropriate function.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue