diff --git a/index.php b/index.php index 6aeca1b..db08555 100644 --- a/index.php +++ b/index.php @@ -196,8 +196,8 @@ foreach (array_reverse($preferred_currencies) as $currency) { @@ -229,9 +229,6 @@ foreach (array_reverse($preferred_currencies) as $currency) { - diff --git a/src/js/main.js b/src/js/main.js index 63c5ab5..29a33db 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -14,6 +14,8 @@ console.log(tooltipList); let lastModifiedField = 'xmr'; +var exchangeRates = {}; + document.addEventListener('DOMContentLoaded', function () { const copyXMRBtn = document.getElementById('copyXMRBtn'); const copyFiatBtn = document.getElementById('copyFiatBtn');