diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2016-01-03 23:22:08 +0100 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2016-01-03 23:40:08 +0100 |
commit | 46747b01fb3eb42901518a3fdb8a5f6d823465eb (patch) | |
tree | 73c203c7c47f6a74c4f4d7aa20854b2d401d2d2f /client/components/sidebar/sidebar.js | |
parent | 8c01d51577e3748d2c1b38b247d6c2cc4e7dbb08 (diff) | |
download | wekan-46747b01fb3eb42901518a3fdb8a5f6d823465eb.tar.gz wekan-46747b01fb3eb42901518a3fdb8a5f6d823465eb.tar.bz2 wekan-46747b01fb3eb42901518a3fdb8a5f6d823465eb.zip |
Fix card infinite scrolling on card activities
I imagine blaze-component changed their Mixins API since I written
this code. We need some tests to avoid this kind of regressions when
updating dependencies!
Fixes #420
Diffstat (limited to 'client/components/sidebar/sidebar.js')
-rw-r--r-- | client/components/sidebar/sidebar.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/components/sidebar/sidebar.js b/client/components/sidebar/sidebar.js index 15a4ce44..e414c1f9 100644 --- a/client/components/sidebar/sidebar.js +++ b/client/components/sidebar/sidebar.js @@ -94,9 +94,7 @@ BlazeComponent.extendComponent({ }, events() { - // XXX Hacky, we need some kind of `super` - const mixinEvents = this.getMixin(Mixins.InfiniteScrolling).events(); - return [...mixinEvents, { + return [{ 'click .js-hide-sidebar': this.hide, 'click .js-toggle-sidebar': this.toggle, 'click .js-back-home': this.setView, |