Change how twitter link is built

raw_icon
John Crepezzi 14 years ago
parent 8eb1b54615
commit 15bd62836b
  1. 2
      static/application.js

@ -258,7 +258,7 @@ haste.prototype.configureButtons = function() {
}, },
shortcutDescription: 'control + t', shortcutDescription: 'control + t',
action: function() { 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));
} }
} }
]; ];

Loading…
Cancel
Save