summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardBody.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-10-03 17:46:00 +0300
committerLauri Ojansivu <x@xet7.org>2018-10-03 17:46:00 +0300
commit2206c5c84cdf8241e763fc23eceba26254de15e7 (patch)
tree4603710a695c2bfb398116c1708992ce47032478 /client/components/boards/boardBody.js
parent5b8c642d8fb16e00000a1d92bcd3a5c6bbd07bce (diff)
downloadwekan-2206c5c84cdf8241e763fc23eceba26254de15e7.tar.gz
wekan-2206c5c84cdf8241e763fc23eceba26254de15e7.tar.bz2
wekan-2206c5c84cdf8241e763fc23eceba26254de15e7.zip
- Fix Card URL https://github.com/wekan/wekan/pull/1932/files
Thanks to schulz !
Diffstat (limited to 'client/components/boards/boardBody.js')
-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({