Archived
2
0
Fork 0

Bypass boost confirm modal if alt is pressed

This commit is contained in:
blackle 2017-04-11 08:34:14 -04:00
parent 01e5447e35
commit f53fb6aa66
5 changed files with 17 additions and 9 deletions

View file

@ -31,7 +31,7 @@ const IconButton = React.createClass({
e.preventDefault();
if (!this.props.disabled) {
this.props.onClick();
this.props.onClick(e);
}
},

View file

@ -46,8 +46,8 @@ const StatusActionBar = React.createClass({
this.props.onFavourite(this.props.status);
},
handleReblogClick () {
this.props.onReblog(this.props.status);
handleReblogClick (e) {
this.props.onReblog(this.props.status, e);
},
handleDeleteClick () {