fix firefox performance drag & drop
parent
e01101a6bc
commit
900ce3c218
|
@ -65,7 +65,6 @@ KanbanSortableDirective = ($repo, $rs, $rootscope) ->
|
||||||
drake = dragula(containers, {
|
drake = dragula(containers, {
|
||||||
copySortSource: false,
|
copySortSource: false,
|
||||||
copy: false,
|
copy: false,
|
||||||
mirrorContainer: tdom[0],
|
|
||||||
moves: (item) ->
|
moves: (item) ->
|
||||||
return $(item).is('tg-card')
|
return $(item).is('tg-card')
|
||||||
})
|
})
|
||||||
|
|
|
@ -68,7 +68,6 @@ TaskboardSortableDirective = ($repo, $rs, $rootscope, $translate) ->
|
||||||
drake = dragula(containers, {
|
drake = dragula(containers, {
|
||||||
copySortSource: false,
|
copySortSource: false,
|
||||||
copy: false,
|
copy: false,
|
||||||
mirrorContainer: $el[0],
|
|
||||||
accepts: (el, target) -> return !$(target).hasClass('taskboard-userstory-box')
|
accepts: (el, target) -> return !$(target).hasClass('taskboard-userstory-box')
|
||||||
moves: (item) ->
|
moves: (item) ->
|
||||||
return $(item).is('tg-card')
|
return $(item).is('tg-card')
|
||||||
|
|
Loading…
Reference in New Issue