summaryrefslogtreecommitdiffstats
path: root/client/components/boards
diff options
context:
space:
mode:
authorAkuket <32392661+Akuket@users.noreply.github.com>2018-10-09 14:49:12 +0200
committerGitHub <noreply@github.com>2018-10-09 14:49:12 +0200
commit28a01862d04654784bd6010035c3a6fe1690ba60 (patch)
treeee52d3c84b12f5ada9a3faf12925dd5806385a91 /client/components/boards
parent3b4f285fea4a90ee96bfce855e1539adcec9b7aa (diff)
parent58855ada97677d25475ba4721834c0f576ed3b47 (diff)
downloadwekan-28a01862d04654784bd6010035c3a6fe1690ba60.tar.gz
wekan-28a01862d04654784bd6010035c3a6fe1690ba60.tar.bz2
wekan-28a01862d04654784bd6010035c3a6fe1690ba60.zip
Merge branch 'edge' into edge
Diffstat (limited to 'client/components/boards')
-rw-r--r--client/components/boards/boardBody.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js
index b68c9b12..ccbd0f23 100644
--- a/client/components/boards/boardBody.js
+++ b/client/components/boards/boardBody.js
@@ -147,6 +147,13 @@ BlazeComponent.extendComponent({
});
},
+ scrollTop(position = 0) {
+ const swimlanes = this.$('.js-swimlanes');
+ swimlanes && swimlanes.animate({
+ scrollTop: position,
+ });
+ },
+
}).register('boardBody');
BlazeComponent.extendComponent({