mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 17:19:42 +00:00
fix(filters.jade): prevent duplication of new tags
Remove ng-submit='createTag(_newTag)' as it duplicates the action of ng-click='createTag(_newTag)’ resulting in two new tags being created.
This commit is contained in:
parent
af74ff9da0
commit
eedb1d147c
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
|||
span=env.t('clearTags')
|
||||
ul(ng-if='!areTagsHidden || _editing')
|
||||
//- Add new tag
|
||||
li.filters-edit(ng-show='_editing', ng-submit='createTag(_newTag)')
|
||||
li.filters-edit(ng-show='_editing')
|
||||
form.hrpg-input-group
|
||||
input(type='text', ng-model='_newTag', placeholder=env.t('newTag'))
|
||||
button(ng-click='createTag(_newTag)')=env.t('add')
|
||||
|
|
|
|||
Loading…
Reference in a new issue