diff --git a/app/assets/javascripts/src/Metamaps.TopicCard.js b/app/assets/javascripts/src/Metamaps.TopicCard.js index 194433db..f1424ed9 100644 --- a/app/assets/javascripts/src/Metamaps.TopicCard.js +++ b/app/assets/javascripts/src/Metamaps.TopicCard.js @@ -25,7 +25,10 @@ Metamaps.TopicCard = { // initialize topic card draggability and resizability $('.showcard').draggable({ - handle: '.metacodeImage' + handle: '.metacodeImage', + stop: function() { + $(this).height('auto') + } }) embedly('on', 'card.rendered', self.embedlyCardRendered)