Made it more obvious that clicking the number would open the comment form.

This commit is contained in:
Kerrick Long
2011-07-15 17:11:35 -05:00
parent 3fcfa291dc
commit 00de6eb564
+1 -1
View File
@@ -703,7 +703,7 @@ Popup.prototype.createListHTML = function (url) {
listHTML += '<a class="subreddit" href="http://www.reddit.com/r/' + data.subreddit + '/" target="_blank">' + data.subreddit + '</a>';
listHTML += '</div>';
listHTML += '<div class="actions">';
listHTML += '<a class="comments" onclick="popup.showCommentForm(\'' + data.name + '\')">' + data.num_comments + ' comments</a>';
listHTML += '<a class="comments" onclick="popup.showCommentForm(\'' + data.name + '\')">add to the ' + data.num_comments + ' comments</a>';
listHTML += '<a class="share">share</a>';
listHTML += '<a class="save" onclick="' + saveAction + '">' + saveText + '</a>';
listHTML += '<a class="hide" onclick="' + hideAction + '">' + hiddenText + '</a>';