mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 14:47:12 -04:00
make the app mountable
This commit is contained in:
parent
9f0ca7cc44
commit
6188c88e4a
6 changed files with 49 additions and 20 deletions
4
static/index.html
Normal file → Executable file
4
static/index.html
Normal file → Executable file
|
@ -121,12 +121,12 @@
|
|||
function go2Name()
|
||||
{
|
||||
var padname = document.getElementById("padname").value;
|
||||
padname.length > 0 ? window.location = "p/" + padname : alert("Please enter a name")
|
||||
padname.length > 0 ? window.location = window.location + "/p/" + padname : alert("Please enter a name")
|
||||
}
|
||||
|
||||
function go2Random()
|
||||
{
|
||||
window.location = "p/" + randomPadName();
|
||||
window.location = window.location + "/p/" + randomPadName();
|
||||
}
|
||||
|
||||
function randomPadName()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue