From f040c97fefa22ffb6e5478fcbdcada36d193ce98 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Tue, 7 Feb 2012 20:27:29 -0800 Subject: added function for permalink update --- index.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index d178a41..62839eb 100644 --- a/index.php +++ b/index.php @@ -219,15 +219,19 @@ function load_content(a) { checkbutton(); }); + update_permalink() +} + +function update_permalink() { /* update permalink */ permalink=""; + if(T!="") permalink += '/tag/' + T; if(a!=1) permalink += '/page/' + a; - d3.select(".permalink").html("Permalink: "+permalink+""); } -- cgit v1.2.3-18-g5258