From 27afb7560d470782f81523f7dff3242c8f31dbdd Mon Sep 17 00:00:00 2001 From: timb Date: Tue, 23 Mar 2010 18:43:37 -0700 Subject: fix SHARE-ING --- static/js/pichat.js | 2 +- template/log_dump.st | 2 +- template/profile_dump.st | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/pichat.js b/static/js/pichat.js index 2158d89..4c1ca98 100755 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -557,7 +557,7 @@ Share = { "getMessage": function(button){ var message = $(button).parents(".logged-dump") var id = message.attr("id").substr(8) // cut "message-001" to "001" - var nick = message.find("a").attr("href").substr(3) // cut "/u/timb" to "timb" + var nick = message.attr("nick") // cut "/u/timb" to "timb" var link = "http://dump.fm/p/" + nick + "/" + id var content = message.find(".linkify") if (!content.length) content = message.find(".content") diff --git a/template/log_dump.st b/template/log_dump.st index 648ce72..d48baf1 100644 --- a/template/log_dump.st +++ b/template/log_dump.st @@ -1,4 +1,4 @@ -
+