From bd2261bed73f33030cce033f2f3cafa03f9bda73 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 23 Apr 2016 00:10:56 +0200 Subject: [PATCH] Change method for setting active playlist --- public/script.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/script.jsx b/public/script.jsx index 1f1a869..f0cf1f0 100644 --- a/public/script.jsx +++ b/public/script.jsx @@ -74,9 +74,8 @@ var PlaylistBox = React.createClass({ if (this.props.playlists) { playlists = this.props.playlists.map(function (pl) { var id = pl.id; - var classes = currentId == id ? "active" : ""; return ( - {pl.name} + {pl.name} ); }, this); }