summaryrefslogtreecommitdiffstats
path: root/client/components/cards/details.js
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-06-06 12:07:52 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-06-06 12:07:52 +0200
commit49167ccaa91376bf70c400013641f76d1164950e (patch)
treef289737b2097f5f68159faec584fa06e9c29a33a /client/components/cards/details.js
parent5cd0ec08aa69bf48a1306b84e0b0bc44ba17d6a4 (diff)
downloadwekan-49167ccaa91376bf70c400013641f76d1164950e.tar.gz
wekan-49167ccaa91376bf70c400013641f76d1164950e.tar.bz2
wekan-49167ccaa91376bf70c400013641f76d1164950e.zip
Improve the card details pane overlay interactions
Diffstat (limited to 'client/components/cards/details.js')
-rw-r--r--client/components/cards/details.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/client/components/cards/details.js b/client/components/cards/details.js
index d44adb67..6ab7da22 100644
--- a/client/components/cards/details.js
+++ b/client/components/cards/details.js
@@ -59,12 +59,6 @@ BlazeComponent.extendComponent({
'click .js-add-labels': Popup.open('cardLabels'),
'mouseenter .js-card-details': function() {
this.componentParent().showOverlay.set(true);
- },
- 'mouseleave .js-card-details': function(evt) {
- // We don't want to hide the overlay if the mouse is entering a pop-over
- var $pointedElement = $(evt.toElement || evt.relatedTarget);
- if ($pointedElement.closest('.pop-over').length === 0)
- this.componentParent().showOverlay.set(false);
}
}];
}