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

Return false from toggle()

This commit is contained in:
Jakub Vrana
2018-01-12 13:09:30 +01:00
parent ee3a88d574
commit 7305783c21
4 changed files with 6 additions and 6 deletions

View File

@@ -73,12 +73,12 @@ function alterClass(el, className, enable) {
/** Toggle visibility
* @param string
* @return boolean
* @return boolean false
*/
function toggle(id) {
var el = qs('#' + id);
el.className = (el.className == 'hidden' ? '' : 'hidden');
return true;
return false;
}
/** Set permanent cookie