Show the padname in the html title
parent
509498f141
commit
0335e48e35
|
@ -70,6 +70,8 @@ function handshake()
|
||||||
socket.on('connect', function(){
|
socket.on('connect', function(){
|
||||||
var padId= document.URL.substring(document.URL.lastIndexOf("/")+1);
|
var padId= document.URL.substring(document.URL.lastIndexOf("/")+1);
|
||||||
|
|
||||||
|
document.title = document.title + " | " + padId;
|
||||||
|
|
||||||
var token = readCookie("token");
|
var token = readCookie("token");
|
||||||
if(token == null)
|
if(token == null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
|
||||||
<meta http-equiv="Content-Language" content="en-us"/>
|
<meta http-equiv="Content-Language" content="en-us"/>
|
||||||
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW"/>
|
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW"/>
|
||||||
<title>Etherpad Lite v0.0.1: test</title>
|
<title>Etherpad Lite</title>
|
||||||
<!-- <base href="http://localhost:9001/" />-->
|
<!-- <base href="http://localhost:9001/" />-->
|
||||||
<!-- CSS -->
|
<!-- CSS -->
|
||||||
<link href="/static/css/pad_lite.css" rel="stylesheet" type="text/css"/>
|
<link href="/static/css/pad_lite.css" rel="stylesheet" type="text/css"/>
|
||||||
|
|
Loading…
Reference in New Issue