mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44:07 +02:00
AdminerCodemirror: Simplify code
This commit is contained in:
@@ -72,7 +72,7 @@ for (const el of qsa('textarea')) {
|
|||||||
hintOptions: {
|
hintOptions: {
|
||||||
completeSingle: false,
|
completeSingle: false,
|
||||||
tables: <?php echo json_encode($tables); ?>,
|
tables: <?php echo json_encode($tables); ?>,
|
||||||
defaultTable: <?php echo json_encode($_GET["trigger"] ? $_GET["trigger"] : ($_GET["check"] ?: null)); ?>
|
defaultTable: <?php echo json_encode($_GET["trigger"] ?: ($_GET["check"] ?: null)); ?>
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
cm.setSize(width, height);
|
cm.setSize(width, height);
|
||||||
|
Reference in New Issue
Block a user