mirror of
https://github.com/JustKato/FreePad.git
synced 2026-04-05 19:38:47 +03:00
* Archive Fix
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user