mirror of
https://github.com/wekan/wekan.git
synced 2025-04-24 05:57:13 -04:00
Fix an exception introduced in 41b23f8
This commit is contained in:
parent
41b23f88ae
commit
f9cbc1da4c
1 changed files with 2 additions and 1 deletions
|
@ -45,7 +45,8 @@ BlazeComponent.extendComponent({
|
|||
},
|
||||
|
||||
scrollLeft(position = 0) {
|
||||
this.$('.js-lists').animate({
|
||||
const lists = this.$('.js-lists');
|
||||
lists && lists.animate({
|
||||
scrollLeft: position,
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue