mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 18:06:15 -04:00
Change all absolute paths to relative paths, fixed #13
This commit is contained in:
parent
2dc3e34951
commit
aac1e25c9e
8 changed files with 77 additions and 61 deletions
|
@ -60,13 +60,13 @@
|
|||
var padname = document.getElementById("padname").value;
|
||||
if(padname.length > 0)
|
||||
{
|
||||
window.location = window.location.protocol + "//" + window.location.host + "/p/" + padname;
|
||||
window.location = "p/" + padname;
|
||||
}
|
||||
}
|
||||
|
||||
function go2Random()
|
||||
{
|
||||
window.location = window.location.protocol + "//" + window.location.host + "/p/" + randomPadName() ;
|
||||
window.location = "p/" + randomPadName() ;
|
||||
}
|
||||
|
||||
function randomPadName()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue