summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-10-31 13:21:12 -0700
committerMaxime Quandalle <maxime@quandalle.com>2015-11-01 17:21:05 -0800
commitf9cbc1da4c1729d62b8c7dbbb7586dc95537b3c4 (patch)
treebc995e42975d74e97d0b97c07aafc20c579e4214 /client
parent41b23f88aea0f421226f92b081cdb1b61c64bde4 (diff)
downloadwekan-f9cbc1da4c1729d62b8c7dbbb7586dc95537b3c4.tar.gz
wekan-f9cbc1da4c1729d62b8c7dbbb7586dc95537b3c4.tar.bz2
wekan-f9cbc1da4c1729d62b8c7dbbb7586dc95537b3c4.zip
Fix an exception introduced in 41b23f8
Diffstat (limited to 'client')
-rw-r--r--client/components/boards/boardBody.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js
index 5c1c974f..5a74e61b 100644
--- a/client/components/boards/boardBody.js
+++ b/client/components/boards/boardBody.js
@@ -45,7 +45,8 @@ BlazeComponent.extendComponent({
},
scrollLeft(position = 0) {
- this.$('.js-lists').animate({
+ const lists = this.$('.js-lists');
+ lists && lists.animate({
scrollLeft: position,
});
},