diff --git a/public/js/app.js b/public/js/app.js index b3df7f0..3f97e1a 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -401,10 +401,11 @@ function bindFeaturePopup(feature, layer) { ' ' + props.dislikes_count + '' + '' + '' + - '' + + (currentUser === props.author_name ? + '' : '') + ''; layer.bindPopup(html, { maxWidth: 320, minWidth: 240 });