mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
parent
b647b5efc2
commit
e877b1cb12
1 changed files with 0 additions and 6 deletions
|
|
@ -6,12 +6,6 @@ window.onload = () => {
|
|||
if (sqlFormat && !readOnly) {
|
||||
sqlFormat.hidden = false;
|
||||
}
|
||||
if (readOnly) {
|
||||
readOnly.innerHTML = sqlFormatter.format(readOnly.innerHTML);
|
||||
}
|
||||
if (sqlInput) {
|
||||
sqlInput.value = sqlFormatter.format(sqlInput.value);
|
||||
}
|
||||
var editor = CodeMirror.fromTextArea(sqlInput, {
|
||||
lineNumbers: true,
|
||||
mode: "text/x-sql",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue