From a74c8a4ba12989f0dd94b76a52873956247f7805 Mon Sep 17 00:00:00 2001 From: Chad Birch Date: Tue, 8 Oct 2013 14:44:50 -0600 Subject: [PATCH] Gilded icon: link to subreddit gilded listing --- r2/r2/public/static/js/gold.js | 2 +- r2/r2/templates/comment.html | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/r2/r2/public/static/js/gold.js b/r2/r2/public/static/js/gold.js index ffaa56b86..2f690f5d5 100644 --- a/r2/r2/public/static/js/gold.js +++ b/r2/r2/public/static/js/gold.js @@ -4,7 +4,7 @@ r.gold = { init: function () { $('div.content').on( 'click', - 'a.give-gold, .gilded-comment-icon, .gold-payment .close-button', + 'a.give-gold, .gold-payment .close-button', $.proxy(this, '_toggleCommentGoldForm') ) diff --git a/r2/r2/templates/comment.html b/r2/r2/templates/comment.html index 2d7680e08..724a06fdc 100755 --- a/r2/r2/templates/comment.html +++ b/r2/r2/templates/comment.html @@ -125,11 +125,13 @@ ${parent.collapsed()} %endif % if thing.gilded_message: - - % if thing.gildings > 1: - x${thing.gildings} - % endif - + + + % if thing.gildings > 1: + x${thing.gildings} + % endif + + % endif %if collapse: