height shouldn't stay hard set. fixes 622

This commit is contained in:
Connor Turland 2016-09-17 23:43:33 +00:00
parent 823c0c5990
commit 61e27a4dcb

View file

@ -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)