mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Merge pull request #1594 from harding/fix-accidental-hiding
Wallets: fix accidental wallet hiding on category change
This commit is contained in:
commit
95c7a19891
1 changed files with 2 additions and 0 deletions
|
@ -389,6 +389,7 @@ function walletListener(e) {
|
|||
if (isMobile()) {
|
||||
var p = document.getElementById('walletsmobile');
|
||||
t = t.cloneNode(true);
|
||||
t.id = 'inline_wallet_box';
|
||||
p.innerHTML = '';
|
||||
p.appendChild(t);
|
||||
scrollToNode(p);
|
||||
|
@ -467,6 +468,7 @@ function walletShowPlatform(platform) {
|
|||
for (var i = 0, nds = document.getElementById('walletsswitch').childNodes, n = nds.length; i < n; i++) {
|
||||
if (nds[i].nodeType !== 1) continue;
|
||||
var id = nds[i].id.split('-')[1];
|
||||
// for wallets with multiple listings, only show one instance per view
|
||||
if (document.getElementById('wallet-' + id)) continue;
|
||||
var nd = null;
|
||||
for (var ii = 0, nn = platforms.length; ii < nn; ii++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue