diff options
Diffstat (limited to 'client/components/boards/boardBody.js')
-rw-r--r-- | client/components/boards/boardBody.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js index e1b39ce8..1fd64cbc 100644 --- a/client/components/boards/boardBody.js +++ b/client/components/boards/boardBody.js @@ -1,12 +1,3 @@ -// XXX This event list must be abstracted somewhere else. -var endTransitionEvents = [ - 'webkitTransitionEnd', - 'otransitionend', - 'oTransitionEnd', - 'msTransitionEnd', - 'transitionend' -].join(' '); - BlazeComponent.extendComponent({ template: function() { return 'boardComponent'; @@ -69,7 +60,7 @@ BlazeComponent.extendComponent({ flexBasis: 0, padding: 0 }); - $(lists).one(endTransitionEvents, removeNode); + $(lists).one(CSSEvents.transitionend, removeNode); } else { removeNode(); } |