diff options
Diffstat (limited to 'client/components/boards')
-rw-r--r-- | client/components/boards/boardBody.js | 11 | ||||
-rw-r--r-- | client/components/boards/boardHeader.jade | 2 |
2 files changed, 3 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(); } diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade index b0f0eebe..e78de3b2 100644 --- a/client/components/boards/boardHeader.jade +++ b/client/components/boards/boardHeader.jade @@ -106,9 +106,11 @@ template(name="createBoardPopup") p.quiet if $eq visibility.get 'public' span.fa.fa-globe.colorful + = " " | {{{_ 'board-public-info'}}} else span.fa.fa-lock.colorful + = " " | {{{_ 'board-private-info'}}} a.js-change-visibility Change. input.primary.wide(type="submit" value="{{_ 'create'}}") |