Tech Tangents:Sandbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
window.addEventListener("load", () => { | window.addEventListener("load", () => { | ||
let button = document.getElementById("tt-button"); | let button = document.getElementById("tt-button"); | ||
let fileInput = document.getElementById("tt-input"); | |||
button.addEventListener("click", () => { | button.addEventListener("click", () => { | ||
const api = new mw.Api(); | const api = new mw.Api(); |
Revision as of 20:43, 6 September 2024