mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44:07 +02:00
Display table default values on wide screens
This commit is contained in:
@@ -355,6 +355,15 @@ function columnShow(checked, column) {
|
||||
}
|
||||
}
|
||||
|
||||
/** Hide column with default values in narrow window
|
||||
*/
|
||||
function editingHideDefaults() {
|
||||
if (innerWidth < document.documentElement.scrollWidth) {
|
||||
document.getElementById('defaults').checked = false;
|
||||
columnShow(false, 5);
|
||||
}
|
||||
}
|
||||
|
||||
/** Display partition options
|
||||
* @param HTMLSelectElement
|
||||
*/
|
||||
|
Reference in New Issue
Block a user