mirror of
https://github.com/zoriya/flood.git
synced 2026-06-09 13:01:54 +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) {
|
if (isCondensed) {
|
||||||
return (
|
return (
|
||||||
<li className={torrentClasses} onClick={this.handleClick}
|
<li className={torrentClasses} onClick={this.handleClick}
|
||||||
onDoubleClick={this.handleDoubleClick}
|
onContextMenu={this.handleRightClick}
|
||||||
onContextMenu={this.handleRightClick}>
|
onDoubleClick={this.handleDoubleClick}>
|
||||||
<TorrentDetail className="table__cell"
|
<TorrentDetail className="table__cell"
|
||||||
slug="name"
|
slug="name"
|
||||||
value={torrent.name}
|
value={torrent.name}
|
||||||
@@ -215,7 +215,8 @@ class Torrent extends React.Component {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<li className={torrentClasses} onClick={this.handleClick}
|
<li className={torrentClasses} onClick={this.handleClick}
|
||||||
onContextMenu={this.handleRightClick}>
|
onContextMenu={this.handleRightClick}
|
||||||
|
onDoubleClick={this.handleDoubleClick}>
|
||||||
<div className="torrent__details__section__wrapper">
|
<div className="torrent__details__section__wrapper">
|
||||||
<TorrentDetail
|
<TorrentDetail
|
||||||
className="torrent__details__section torrent__details__section--primary"
|
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