From e2611706b5e73e15e6eef0a5ed0cb0e286317ac2 Mon Sep 17 00:00:00 2001 From: Alexey Kasyanchuk Date: Sun, 22 Jan 2017 22:04:39 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=D1=81=D1=8B=D0=BB=D0=BA=D0=B0=20=D0=BD?= =?UTF-8?q?=D0=B0=20=D0=B8=D0=BC=D0=B5=D0=BD=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/torrent.js | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/src/torrent.js b/src/torrent.js index 29109fc..1750b59 100644 --- a/src/torrent.js +++ b/src/torrent.js @@ -10,10 +10,23 @@ return (
window.router('/torrent/' + torrent.hash)} - primaryText={{torrent.name}} + primaryText={ + { + if(node) + node.onclick = () => { return false } + }}> + + {torrent.name} + + + } secondaryText={ + { + if(node) + node.onclick = () => { return false } + }}>
{ @@ -39,7 +52,8 @@ return ( null }
- } +
+ } leftIcon={ (() => { switch(torrent.contentType)