mirror of
https://github.com/zoriya/flood.git
synced 2026-06-02 11:06:35 +00:00
Merge pull request #253 from jfurrow/bug/add-double-click-both-view-options
Add double click event to both view options
This commit is contained in:
@@ -154,8 +154,8 @@ class Torrent extends React.Component {
|
||||
if (isCondensed) {
|
||||
return (
|
||||
<li className={torrentClasses} onClick={this.handleClick}
|
||||
onDoubleClick={this.handleDoubleClick}
|
||||
onContextMenu={this.handleRightClick}>
|
||||
onContextMenu={this.handleRightClick}
|
||||
onDoubleClick={this.handleDoubleClick}>
|
||||
<TorrentDetail className="table__cell"
|
||||
slug="name"
|
||||
value={torrent.name}
|
||||
@@ -215,7 +215,8 @@ class Torrent extends React.Component {
|
||||
|
||||
return (
|
||||
<li className={torrentClasses} onClick={this.handleClick}
|
||||
onContextMenu={this.handleRightClick}>
|
||||
onContextMenu={this.handleRightClick}
|
||||
onDoubleClick={this.handleDoubleClick}>
|
||||
<div className="torrent__details__section__wrapper">
|
||||
<TorrentDetail
|
||||
className="torrent__details__section torrent__details__section--primary"
|
||||
|
||||
+34
-34
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user