From 2206c5c84cdf8241e763fc23eceba26254de15e7 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 3 Oct 2018 17:46:00 +0300 Subject: - Fix Card URL https://github.com/wekan/wekan/pull/1932/files Thanks to schulz ! --- client/components/boards/boardBody.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'client/components/boards/boardBody.js') 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({ -- cgit v1.2.3-1-g7c22