mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
This commit is contained in:
parent
3db37e9a21
commit
3ecd131e57
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
const schema = {};
|
const schema = {};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
window.onload = () => {
|
window.addEventListener("DOMContentLoaded", () => {
|
||||||
const sqlFormat = document.querySelector("button#sql-format");
|
const sqlFormat = document.querySelector("button#sql-format");
|
||||||
const readOnly = document.querySelector("pre#sql-query");
|
const readOnly = document.querySelector("pre#sql-query");
|
||||||
const sqlInput = document.querySelector("textarea#sql-editor");
|
const sqlInput = document.querySelector("textarea#sql-editor");
|
||||||
|
|
@ -38,5 +38,5 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue