mirror of https://github.com/JustKato/FreePad.git
* Archive Fix
This commit is contained in:
parent
1b1fe59877
commit
7dcad9dc31
|
@ -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();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue