Skip to content

Commit

Permalink
fix emoji panel be removed bug in issue page, when the sub issue summ…
Browse files Browse the repository at this point in the history
…it the duplicate emoji (#8609) (#8623)
  • Loading branch information
guillep2k authored and lafriks committed Oct 21, 2019
1 parent afeab94 commit bac9424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ function initReactionSelector(parent) {
if (resp && (resp.html || resp.empty)) {
const content = $(vm).closest('.content');
let react = content.find('.segment.reactions');
if (react.length > 0) {
if (!resp.empty && react.length > 0) {
react.remove();
}
if (!resp.empty) {
Expand Down

0 comments on commit bac9424

Please sign in to comment.