mirror of
https://github.com/SunRed/haste-server.git
synced 2024-11-01 01:30:21 +01:00
Change how twitter link is built
This commit is contained in:
parent
8eb1b54615
commit
15bd62836b
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue