1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-25 23:36:20 +02:00

Move inline event handlers to <script>

This commit is contained in:
Jakub Vrana
2018-01-12 22:46:16 +01:00
parent af1ad47a64
commit b6cc584f48
2 changed files with 5 additions and 5 deletions

View File

@@ -851,7 +851,7 @@ function cloneNode(el) {
var origEls = qsa(selector, el);
var cloneEls = qsa(selector, el2);
for (var i=0; i < origEls.length; i++) {
for (var key in {onchange: 1, onkeydown: 1, onsearch: 1, oninput: 1}) {
for (var key in {onchange: 1, onkeydown: 1, onsearch: 1, oninput: 1, onclick: 1}) {
if (origEls[i][key]) {
cloneEls[i][key] = origEls[i][key];
}