diff --git a/src/ImageCard.react.js b/src/ImageCard.react.js index 7739d119..29a09efe 100644 --- a/src/ImageCard.react.js +++ b/src/ImageCard.react.js @@ -42,11 +42,11 @@ var ImageCard = React.createClass({ $tagOverlay.fadeOut(300); }, handleRepoClick: function () { - var $repoUri = 'https://registry.hub.docker.com/' + var $repoUri = 'https://registry.hub.docker.com/'; if (this.props.image.is_official) { - $repoUri = $repoUri + "_/" + $repoUri = $repoUri + "_/"; } else { - $repoUri = $repoUri + "u/" + $repoUri = $repoUri + "u/"; } util.exec(['open', $repoUri + this.props.image.name]); }, @@ -67,7 +67,7 @@ var ImageCard = React.createClass({ name = (