diff options
author | Camil Staps <info@camilstaps.nl> | 2019-07-26 10:21:51 +0300 |
---|---|---|
committer | Camil Staps <info@camilstaps.nl> | 2019-08-07 21:49:18 +0300 |
commit | d81ffbd84d378552ad8cd2151389337af1ff95f6 (patch) | |
tree | c2fc07cf26f677a6e5fd26e16e9f0ce0343fa630 /app/assets/javascripts/star.js | |
parent | 900ff4c8e7e4473073d17d8aaf29392dfaab6fc1 (diff) |
Fix star count link after clicking star/unstar button
Diffstat (limited to 'app/assets/javascripts/star.js')
-rw-r--r-- | app/assets/javascripts/star.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/star.js b/app/assets/javascripts/star.js index 70f89152f70..97afeecd8ac 100644 --- a/app/assets/javascripts/star.js +++ b/app/assets/javascripts/star.js @@ -18,7 +18,7 @@ export default class Star { const isStarred = $starSpan.hasClass('starred'); $this .parent() - .find('.star-count') + .find('.count') .text(data.star_count); if (isStarred) { |