mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
Show the padname in the html title
This commit is contained in:
parent
509498f141
commit
0335e48e35
2 changed files with 3 additions and 1 deletions
|
@ -70,6 +70,8 @@ function handshake()
|
|||
socket.on('connect', function(){
|
||||
var padId= document.URL.substring(document.URL.lastIndexOf("/")+1);
|
||||
|
||||
document.title = document.title + " | " + padId;
|
||||
|
||||
var token = readCookie("token");
|
||||
if(token == null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue