height shouldn't stay hard set. fixes 622
This commit is contained in:
parent
823c0c5990
commit
61e27a4dcb
1 changed files with 4 additions and 1 deletions
|
@ -25,7 +25,10 @@ Metamaps.TopicCard = {
|
||||||
|
|
||||||
// initialize topic card draggability and resizability
|
// initialize topic card draggability and resizability
|
||||||
$('.showcard').draggable({
|
$('.showcard').draggable({
|
||||||
handle: '.metacodeImage'
|
handle: '.metacodeImage',
|
||||||
|
stop: function() {
|
||||||
|
$(this).height('auto')
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
embedly('on', 'card.rendered', self.embedlyCardRendered)
|
embedly('on', 'card.rendered', self.embedlyCardRendered)
|
||||||
|
|
Loading…
Reference in a new issue