summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Ostler <scottbot9000@gmail.com>2011-01-04 16:27:39 -0500
committerScott Ostler <scottbot9000@gmail.com>2011-01-04 16:27:39 -0500
commitf46044e56199750c9fbda3dec3edd1336ada98ad (patch)
tree03ebece45bfc8d15eb3e34810f2560bfda3214ee
parent2bc29e5de23e4cb6d9c97196a8ba7981e621c686 (diff)
Fixed pichat.js urls
-rw-r--r--static/js/pichat.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js
index cc51613..7c7dd0a 100644
--- a/static/js/pichat.js
+++ b/static/js/pichat.js
@@ -139,7 +139,7 @@ function getImagesAsArray(text) {
function topicReplace(text) {
text = $.trim(text).toLowerCase();
var topicLabel = text.substring(1);
- return ' <a href="/t/' + topicLabel + '">' + text + '</a> ';
+ return ' <a href="http://dump.fm/t/' + topicLabel + '">' + text + '</a> ';
}
function recipientReplace(atText, recips) {
@@ -161,7 +161,7 @@ function recipientReplace(atText, recips) {
}
if (matchedRecip) {
- return space + '<a target="_blank" href="/' + matchedRecip + '">@' + matchedRecip + '</a>';
+ return space + '<a target="_blank" href="http://dump.fm/' + matchedRecip + '">@' + matchedRecip + '</a>';
} else {
return space + atText;
}
@@ -384,7 +384,7 @@ function buildUserDiv(user) {
+ escapeHtml(user.nick) + '</a></div>';
} else {
return '<div class="username">'
- + '<a href="/' + escapeHtml(user.nick) + '" target="_blank">'
+ + '<a href="http://dump.fm/' + escapeHtml(user.nick) + '" target="_blank">'
+ '<img src="/static/img/noinfo.png" width="50" height="50">'
+ escapeHtml(user.nick) + '</a></div>';
}
@@ -394,7 +394,7 @@ function buildUserDiv(user) {
function buildFav(f) {
var h = '<div class="fav-note">'
- + '<img src="/static/img/thumbs/chatheartover.gif">'
+ + '<img src="http://dump.fm/static/img/thumbs/chatheartover.gif">'
+ '<a href="http://dump.fm/' + f.from + '">' + f.from + '</a>'
+ '&nbsp;<span>just faved you!</span>'
+ '</div>';