Fixing js error if no tags

stable
Alejandro Alonso 2014-10-31 09:50:51 +01:00
parent b5d105dfac
commit e2dc91e134
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ TagLineDirective = ($rootScope, $repo, $rs, $confirm) ->
$scope.$watch $attrs.ngModel, (model) ->
return if not model
if model.tags.length
if model.tags?.length
hideAddTagButtonText()
else
showAddTagButtonText()