summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardBody.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/boards/boardBody.js')
-rw-r--r--client/components/boards/boardBody.js13
1 files changed, 6 insertions, 7 deletions
diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js
index 8a1941d6..669b5b4b 100644
--- a/client/components/boards/boardBody.js
+++ b/client/components/boards/boardBody.js
@@ -22,6 +22,9 @@ BlazeComponent.extendComponent({
self._isDragging = false;
self._lastDragPositionX = 0;
+
+ // Used to set the overlay
+ self.mouseHasEnterCardDetails = false;
},
openNewListForm: function() {
@@ -57,18 +60,14 @@ BlazeComponent.extendComponent({
return currentCard && currentCard.listId === listId;
},
- sidebarSize: function() {
- var sidebar = this.componentChildren('sidebar')[0];
- if (sidebar && sidebar.isOpen())
- return 'next-sidebar';
- },
-
events: function() {
return [{
// XXX The board-overlay div should probably be moved to the parent
// component.
'mouseenter .board-overlay': function() {
- this.showOverlay.set(false);
+ if (this.mouseHasEnterCardDetails) {
+ this.showOverlay.set(false);
+ }
},
// Click-and-drag action