mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
parent
3f7df340e1
commit
758be3356c
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ BlazeComponent.extendComponent({
|
|||
const lastCardDom = this.find('.js-minicard:last');
|
||||
const textarea = $(evt.currentTarget).find('textarea');
|
||||
const title = textarea.val();
|
||||
const position = Blaze.getData(evt.currentTarget).position;
|
||||
const position = this.currentData().position;
|
||||
let sortIndex;
|
||||
if (position === 'top') {
|
||||
sortIndex = Utils.calculateIndex(null, firstCardDom).base;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue