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

AdminerCodemirror: Simplify code

This commit is contained in:
Jakub Vrana
2025-03-29 17:50:43 +01:00
parent 82450b1ad2
commit 79f5280f3d

View File

@@ -72,7 +72,7 @@ for (const el of qsa('textarea')) {
hintOptions: {
completeSingle: false,
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);