Fix add token button to open modal by setting display style

parent 20308215
...@@ -181,12 +181,12 @@ ...@@ -181,12 +181,12 @@
function openAddTokenModal() { function openAddTokenModal() {
const modal = document.getElementById('addTokenModal'); const modal = document.getElementById('addTokenModal');
modal.classList.add('show'); modal.style.display = 'block';
} }
function closeAddTokenModal() { function closeAddTokenModal() {
const modal = document.getElementById('addTokenModal'); const modal = document.getElementById('addTokenModal');
modal.classList.remove('show'); modal.style.display = 'none';
} }
function closeTokenModal() { function closeTokenModal() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment