From 1d739aca54d86ad3a74d1bd6aaa761051ff60e86 Mon Sep 17 00:00:00 2001 From: winkidney Date: Fri, 22 Feb 2019 06:58:31 -0800 Subject: [PATCH] Fix: Use class instead of element name for star action --- pinry/static/js/pinry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinry/static/js/pinry.js b/pinry/static/js/pinry.js index 1648eb0..f6b35e9 100644 --- a/pinry/static/js/pinry.js +++ b/pinry/static/js/pinry.js @@ -49,7 +49,7 @@ $(window).load(function() { } // Open add-to-board panel - $('glyphicon-heart').each(function() { + $('.glyphicon-heart').each(function() { var thisPin = $(this); $(this).off('click'); $(this).click(function() {