diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-06-06 12:07:52 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-06-06 12:07:52 +0200 |
commit | 49167ccaa91376bf70c400013641f76d1164950e (patch) | |
tree | f289737b2097f5f68159faec584fa06e9c29a33a /client/components/boards/boardBody.js | |
parent | 5cd0ec08aa69bf48a1306b84e0b0bc44ba17d6a4 (diff) | |
download | wekan-49167ccaa91376bf70c400013641f76d1164950e.tar.gz wekan-49167ccaa91376bf70c400013641f76d1164950e.tar.bz2 wekan-49167ccaa91376bf70c400013641f76d1164950e.zip |
Improve the card details pane overlay interactions
Diffstat (limited to 'client/components/boards/boardBody.js')
-rw-r--r-- | client/components/boards/boardBody.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js index 6de7fba6..e1b39ce8 100644 --- a/client/components/boards/boardBody.js +++ b/client/components/boards/boardBody.js @@ -119,6 +119,16 @@ BlazeComponent.extendComponent({ 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); + } + }]; } }).register('boardComponent'); |