mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-04 22:27:10 -04:00
patch to allow user-added prefixes and modification to random pad names; correctly process uri-encoded utf-8 characters in pad names and page titles
This commit is contained in:
parent
5bef51f468
commit
bda20a38a4
4 changed files with 29 additions and 15 deletions
|
@ -62,7 +62,7 @@
|
|||
|
||||
//get the padId out of the url
|
||||
var urlParts= document.location.pathname.split("/");
|
||||
padId = urlParts[urlParts.length-2];
|
||||
padId = decodeURIComponent( urlParts[urlParts.length-2] );
|
||||
|
||||
//set the title
|
||||
document.title = document.title + " | " + padId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue