* Archive Fix

This commit is contained in:
Daniel Legt 2022-06-07 00:16:27 +03:00
parent 1b1fe59877
commit 7dcad9dc31
1 changed files with 4 additions and 1 deletions

View File

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