Skip to content

Commit

Permalink
site: do not get icon repeatedly
Browse files Browse the repository at this point in the history
  • Loading branch information
chappjc committed Feb 24, 2023
1 parent 441bbc5 commit a9709ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/webserver/site/src/html/bodybuilder.tmpl
Expand Up @@ -104,7 +104,7 @@
{{end}}

{{define "bottom"}}
<script src="/js/entry.js?v=eGfPLtv5"></script>
<script src="/js/entry.js?v=qAsSUzx7"></script>
</body>
</html>
{{end}}
2 changes: 1 addition & 1 deletion client/webserver/site/src/js/wallets.ts
Expand Up @@ -603,7 +603,7 @@ export default class WalletsPage extends BasePage {
const { bttn, tmpl } = this.assetButtons[assetID]
Doc.hide(tmpl.fiat, tmpl.noWallet)
bttn.classList.add('nowallet')
tmpl.img.src = Doc.logoPath(a.symbol)
tmpl.img.src ||= Doc.logoPath(a.symbol) // don't initiate GET if already set (e.g. update on some notification)
tmpl.name.textContent = a.name
if (a.wallet) {
bttn.classList.remove('nowallet')
Expand Down

0 comments on commit a9709ce

Please sign in to comment.