Small error handling improvment.
This commit is contained in:
parent
3ba55da83e
commit
dbeeda47ab
1 changed files with 1 additions and 0 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue