diff --git a/app/assets/javascripts/app/controllers/tag_widget.js.coffee b/app/assets/javascripts/app/controllers/tag_widget.js.coffee index fb1c0ba7f..382156229 100644 --- a/app/assets/javascripts/app/controllers/tag_widget.js.coffee +++ b/app/assets/javascripts/app/controllers/tag_widget.js.coffee @@ -69,5 +69,6 @@ class App.TagWidget extends App.Controller container = document.getElementById( @attribute_id + '_tagsinput' ) if reorder $('#' + @attribute_id + '_tagsinput').height( 20 ) + return if !container height = container.scrollHeight $('#' + @attribute_id + '_tagsinput').height( height - 10 )