diff options
Diffstat (limited to 'static/js/pichat.butt.js')
| -rwxr-xr-x | static/js/pichat.butt.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/static/js/pichat.butt.js b/static/js/pichat.butt.js index ec2b068..bb1d00f 100755 --- a/static/js/pichat.butt.js +++ b/static/js/pichat.butt.js @@ -478,7 +478,7 @@ function initProfile() { t.html(buildMsgContent(t.text())); }); initLogThumb() - if (window.location.href == 'http://dump.fm/u/scottbot') { + if (window.location.href == '/u/scottbot') { $('body').append($('<embed src="/static/tunes/busters.mid" autostart="true" hidden="true">')); } }; @@ -817,7 +817,7 @@ function getMessageInfo(e){ var message = $(e).parents(".dump") var id = message.attr("id").substr(8) // cut "message-001" to "001" var nick = message.attr("nick") - var link = "http://dump.fm/p/" + nick + "/" + id + var link = "/p/" + nick + "/" + id var content = message.find(".linkify") if (!content.length) content = message.find(".content") var rawContent = content.html() @@ -834,7 +834,7 @@ Share = { }, "facebook": function(button){ var message = getMessageInfo(button) - var url = "http://www.facebook.com/share.php?u=" + message.img + "&t=" + message.via + var url = "https://www.facebook.com/share.php?u=" + message.img + "&t=" + message.via Share.openLink(url) }, "tumblr": function(button){ |
