Commit 15bd6283 authored by John Crepezzi's avatar John Crepezzi
Browse files

Change how twitter link is built

parent 8eb1b546
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));
      }
    }
  ];