mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Fix adding list at mobile view, every list had a sort number 1
- html class list doesn't exist at mobile view. class js-list exists on mobile and desktop view
This commit is contained in:
parent
6d855967fe
commit
fa9641ba7b
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ BlazeComponent.extendComponent({
|
|||
Lists.insert({
|
||||
title,
|
||||
boardId: Session.get('currentBoard'),
|
||||
sort: $('.list').length,
|
||||
sort: $('.js-list').length,
|
||||
type: this.isListTemplatesSwimlane ? 'template-list' : 'list',
|
||||
swimlaneId: this.currentBoard.isTemplatesBoard()
|
||||
? this.currentSwimlane._id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue