diff options
author | Phil Hughes <me@iamphill.com> | 2016-08-15 11:40:20 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-08-17 17:17:39 +0100 |
commit | 299cb77c221dfc1ba8c173bd4b129d41aa029740 (patch) | |
tree | 816482030e0cd0f3f27113c04b4883c8e617ce56 | |
parent | 034932efaf2995b748b3be848603c77e4fa9d4e4 (diff) | |
download | gitlab-ce-299cb77c221dfc1ba8c173bd4b129d41aa029740.tar.gz |
Fixed small screen bug not dragging
-rw-r--r-- | app/assets/javascripts/boards/components/board.js.es6 | 2 | ||||
-rw-r--r-- | app/assets/javascripts/boards/components/board_list.js.es6 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/boards/components/board.js.es6 b/app/assets/javascripts/boards/components/board.js.es6 index 989c1d3d8ba..fbff9059c75 100644 --- a/app/assets/javascripts/boards/components/board.js.es6 +++ b/app/assets/javascripts/boards/components/board.js.es6 @@ -69,7 +69,7 @@ } }); - if (bp.getBreakpointSize() === 'sm' || bp.getBreakpointSize() === 'xs') { + if (bp.getBreakpointSize() === 'xs') { options.handle = '.js-board-drag-handle'; } diff --git a/app/assets/javascripts/boards/components/board_list.js.es6 b/app/assets/javascripts/boards/components/board_list.js.es6 index 39c936ac81e..51dc0c98137 100644 --- a/app/assets/javascripts/boards/components/board_list.js.es6 +++ b/app/assets/javascripts/boards/components/board_list.js.es6 @@ -69,7 +69,7 @@ } }); - if (bp.getBreakpointSize() === 'sm' || bp.getBreakpointSize() === 'xs') { + if (bp.getBreakpointSize() === 'xs') { options.handle = '.js-card-drag-handle'; } |