From 15bd62836b74e018ae20134147f5617065025258 Mon Sep 17 00:00:00 2001 From: John Crepezzi Date: Tue, 29 Nov 2011 12:06:49 -0500 Subject: [PATCH] Change how twitter link is built --- static/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/application.js b/static/application.js index 301c662..2ac2fbb 100644 --- a/static/application.js +++ b/static/application.js @@ -258,7 +258,7 @@ haste.prototype.configureButtons = function() { }, shortcutDescription: 'control + t', action: function() { - window.open('https://twitter.com/share?url=' + encodeURI(_this.baseUrl + _this.doc.key)); + window.open('https://twitter.com/share?url=' + encodeURI(window.location.href)); } } ];