1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-31 01:59:59 +02:00

Move inline event handlers to <script>

This commit is contained in:
Jakub Vrana
2018-01-13 08:58:01 +01:00
parent 3fe0d88f98
commit e255ba9aa4
2 changed files with 18 additions and 5 deletions

View File

@@ -39,3 +39,13 @@ function whisper(url) {
});
}
}
/** Add new attachment field
* @this HTMLInputElement
*/
function emailFileChange() {
this.onchange = function () { };
var el = this.cloneNode(true);
el.value = '';
this.parentNode.appendChild(el);
}