mirror of
https://github.com/SunRed/haste-server.git
synced 2024-12-27 22:50:11 +01:00
parent
46bdd27431
commit
afb0c332cc
1 changed files with 2 additions and 2 deletions
|
@ -308,9 +308,9 @@ haste.prototype.configureButtons = function() {
|
|||
$where: $('#box2 .twitter'),
|
||||
label: 'Twitter',
|
||||
shortcut: function(evt) {
|
||||
return _this.options.twitter && _this.doc.locked && evt.ctrlKey && evt.keyCode == 84;
|
||||
return _this.options.twitter && _this.doc.locked && evt.shiftKey && evt.ctrlKey && evt.keyCode == 84;
|
||||
},
|
||||
shortcutDescription: 'control + t',
|
||||
shortcutDescription: 'control + shift + t',
|
||||
action: function() {
|
||||
window.open('https://twitter.com/share?url=' + encodeURI(window.location.href));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue