1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-26 15:54:34 +02:00

Fix SQL command toggle

This commit is contained in:
Jakub Vrana
2018-01-13 23:42:48 +01:00
parent 80d030f51a
commit cc268428b8
5 changed files with 15 additions and 3 deletions

View File

@@ -60,6 +60,15 @@ function typePassword(el, disable) {
}
}
/** Install toggle handler
*/
function messagesPrint() {
var els = qsa('.toggle', document);
for (var i = 0; i < els.length; i++) {
els[i].onclick = partial(toggle, els[i].getAttribute('href').substr(1));
}
}
var dbCtrl;