mirror of
https://github.com/rottenwheel/moner.ooo.git
synced 2025-07-06 18:09:45 +00:00
fix: remove inline script and improve noscript message
Refactored inline exchangeRates script to main.js for better practice and maintainability. Enhanced the noscript warning message's readability by replacing paragraph tags with line breaks, ensuring clearer instructions for users without JavaScript.
This commit is contained in:
parent
227d56a2bd
commit
fdebb16a85
2 changed files with 4 additions and 5 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue