Remove unused hack

This commit is contained in:
Andrés Manelli 2018-02-01 12:43:44 -03:00
parent d94f11c778
commit 42bc905c16

View file

@ -18,9 +18,7 @@ BlazeComponent.extendComponent({
// callback, we basically solve all issues related to reactive updates. A
// comment below provides further details.
onRendered() {
let boardComponent = this.parentComponent().parentComponent();
if (!boardComponent)
boardComponent = this.parentComponent();
const boardComponent = this.parentComponent().parentComponent();
const itemsSelector = '.js-minicard:not(.placeholder, .js-card-composer)';
const $cards = this.$('.js-minicards');
$cards.sortable({