mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 22:56:46 +02:00
JS: Use classList instead of className
This commit is contained in:
@@ -32,7 +32,7 @@ function whisper(url) {
|
||||
const a = field.nextSibling.firstChild;
|
||||
if (a && a.firstChild.data == field.value) {
|
||||
field.previousSibling.value = decodeURIComponent(a.href.replace(/.*=/, ''));
|
||||
a.className = 'active';
|
||||
a.classList.add('active');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user