mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
CSS: Hide menu on mobile
This commit is contained in:
@@ -849,3 +849,9 @@ oninput = event => {
|
||||
const maxLength = target.getAttribute('data-maxlength');
|
||||
alterClass(target, 'maxlength', target.value && maxLength != null && target.value.length > maxLength); // maxLength could be 0
|
||||
};
|
||||
|
||||
addEvent(document, 'click', event => {
|
||||
if (!qs('#foot').contains(event.target)) {
|
||||
alterClass(qs('#foot'), 'foot', true);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user