mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
Changing button to a element fixed the delete on enter problem
This commit is contained in:
parent
0339bdf43f
commit
a8459c2f96
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ li(bindonce='list', id='task-{{::task.id}}', ng-repeat='task in obj[list.type+"s
|
||||||
//-,ng-blur='saveTask(task,true)')
|
//-,ng-blur='saveTask(task,true)')
|
||||||
span.checklist-icon.glyphicon.glyphicon-resize-vertical()
|
span.checklist-icon.glyphicon.glyphicon-resize-vertical()
|
||||||
input(type='text',ng-model='item.text',ui-keydown="{'8 46':'removeChecklistItem(task,$event,$index)'}",ui-keyup="{'13':'addChecklistItem(task,$event,$index)','38 40':'navigateChecklist(task,$index,$event)'}")
|
input(type='text',ng-model='item.text',ui-keydown="{'8 46':'removeChecklistItem(task,$event,$index)'}",ui-keyup="{'13':'addChecklistItem(task,$event,$index)','38 40':'navigateChecklist(task,$index,$event)'}")
|
||||||
button(ng-click='removeChecklistItem(task,$event,$index,true)')
|
a(ng-click='removeChecklistItem(task,$event,$index,true)')
|
||||||
span.glyphicon.glyphicon-trash(tooltip=env.t('delete'))
|
span.glyphicon.glyphicon-trash(tooltip=env.t('delete'))
|
||||||
|
|
||||||
form(ng-submit='saveTask(task,false,true)')
|
form(ng-submit='saveTask(task,false,true)')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue