mirror of
https://github.com/vrana/adminer.git
synced 2025-08-23 06:32:55 +02:00
JS: Use let/const in spaghetti code
This commit is contained in:
@@ -34,7 +34,7 @@ class AdminerEmailTable {
|
||||
echo "<p>" . ('Attachments') . ": <input type='file' name='email_files[]'>";
|
||||
echo Adminer\script("qsl('input').onchange = function () {
|
||||
this.onchange = function () { };
|
||||
var el = this.cloneNode(true);
|
||||
const el = this.cloneNode(true);
|
||||
el.value = '';
|
||||
this.parentNode.appendChild(el);
|
||||
};");
|
||||
|
Reference in New Issue
Block a user