From 0335e48e3566f781b7a4faccf9ea0998e825d316 Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Mon, 23 May 2011 22:30:49 +0100 Subject: [PATCH] Show the padname in the html title --- static/js/pad2.js | 2 ++ static/pad.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/pad2.js b/static/js/pad2.js index 9db224ed..faf97e0c 100644 --- a/static/js/pad2.js +++ b/static/js/pad2.js @@ -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) { diff --git a/static/pad.html b/static/pad.html index c3bd6563..31864b8d 100755 --- a/static/pad.html +++ b/static/pad.html @@ -6,7 +6,7 @@ -Etherpad Lite v0.0.1: test +Etherpad Lite