summaryrefslogtreecommitdiffstats
path: root/client/components/main/popup.tpl.jade
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-05-22 20:17:40 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-05-22 20:17:40 +0200
commit6ef9c7e95fd2c85f944db89a746a8457e216403c (patch)
tree11516d9d0446dbd55ab8058edb0bef9a6f831a63 /client/components/main/popup.tpl.jade
parentd81cad4251ff1d10d38ed47ceea6612395fe0e24 (diff)
downloadwekan-6ef9c7e95fd2c85f944db89a746a8457e216403c.tar.gz
wekan-6ef9c7e95fd2c85f944db89a746a8457e216403c.tar.bz2
wekan-6ef9c7e95fd2c85f944db89a746a8457e216403c.zip
Improve popup animation
When going back wait for the popup transition to end before removing the DOM element.
Diffstat (limited to 'client/components/main/popup.tpl.jade')
-rw-r--r--client/components/main/popup.tpl.jade2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/main/popup.tpl.jade b/client/components/main/popup.tpl.jade
index 9e99030d..fa54c713 100644
--- a/client/components/main/popup.tpl.jade
+++ b/client/components/main/popup.tpl.jade
@@ -17,5 +17,5 @@
//-
XXX We need a better way to express the "is the last element" condition.
Hopefully the @last helper will come soon (or at least @index)
- .content(class="{{#unless $eq popupName ../popupName}}is-hidden{{/unless}}")
+ .content(class="{{#unless $eq popupName ../popupName}}no-height{{/unless}}")
+Template.dynamic(template=popupName data=dataContext)