Support initial closed state.

This commit is contained in:
Paulo Reis 2017-02-21 14:27:57 +00:00
parent 5c7fc66964
commit 2e8f917318

View file

@ -12,4 +12,7 @@ define [
element.animate { height: 0 }, 150
else
element.animate { height: neededHeight }, 150
else
if shouldCollapse
element.height 0
}