FIX 'new Pad' opens new tab now - had do change some JS...
This commit is contained in:
parent
ab94c23f2d
commit
4e2e90aeac
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
|
@ -372,7 +372,7 @@ function connect(){
|
||||||
$("#peers").style.display = "none";
|
$("#peers").style.display = "none";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
$("#newpad").addEventListener("click", (e) => { e.preventDefault(); location.href = "/" + rand() + "/"; });
|
$("#newpad").addEventListener("click", (e) => { e.preventDefault(); window.open("/" + rand() + "/", "_blank"); });
|
||||||
|
|
||||||
// Copy to clipboard function
|
// Copy to clipboard function
|
||||||
async function copyToClipboard() {
|
async function copyToClipboard() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue