diff --git a/static/js/pad-scripts.js b/static/js/pad-scripts.js index 3190d98..cb355e9 100644 --- a/static/js/pad-scripts.js +++ b/static/js/pad-scripts.js @@ -138,7 +138,10 @@ function renderArchivesSelection() { let resp = confirm("Load contents of pad from memory? This will overwrite the current pad for everyone."); if (!!resp) { - document.getElementById(`pad-content`).value = a.content; + // Update visually for the client + updatePadContent(a.content); + // Send the update + window.socket.sendPadUpdate(); } })