mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Merge pull request #629 from bitcoin/walletsscale
Only display wallets for selected platform
This commit is contained in:
commit
971b224c59
3 changed files with 100 additions and 58 deletions
|
@ -701,7 +701,7 @@ wallets:
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="wallets" id="wallets" onclick="walletMobileShow(event);walletDisabledShow(event);">
|
||||
<div class="wallets" id="wallets" onclick="walletShow(event);">
|
||||
{% for wallet in page.wallets %}{% for wallet in wallet %}{% if wallet[1].platform.mobile %}{% assign platform = wallet[1].platform.mobile %}{% elsif wallet[1].platform.desktop %}{% assign platform = wallet[1].platform.desktop %}{% elsif wallet[1].platform.hardware %}{% assign platform = wallet[1].platform.hardware %}{% else %}{% assign platform = wallet[1].platform.web %}{% endif %}
|
||||
<div id="wallet-{{ wallet[0] }}" data-walletcompat="{{ wallet[1].compat }}" data-walletlevel="{{ wallet[1].level }}">
|
||||
<span></span>
|
||||
|
@ -764,7 +764,6 @@ wallets:
|
|||
<div class="wallets walletsmobile" id="walletsmobile"></div>
|
||||
|
||||
<script>if(isMobile())walletShowPlatform('mobile');else walletShowPlatform('desktop');</script>
|
||||
<script>walletRotate();</script>
|
||||
|
||||
<div class="walletsdisclaimer">
|
||||
<h2><img src="/img/warning.svg" class="warningicon" alt="warning">{% translate educate %}</h2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue