summaryrefslogtreecommitdiffstats
path: root/client/components/lists/menu.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/lists/menu.js')
-rw-r--r--client/components/lists/menu.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/lists/menu.js b/client/components/lists/menu.js
index ef08cf76..1e1eb53f 100644
--- a/client/components/lists/menu.js
+++ b/client/components/lists/menu.js
@@ -3,8 +3,8 @@ Template.listActionPopup.events({
// XXX We need a better API and architecture here. See
// https://github.com/peerlibrary/meteor-blaze-components/issues/19
var listDom = document.getElementById('js-list-' + this._id);
- var listComponent = Blaze.getView(listDom).templateInstance().get('component');
- listComponent.openForm();
+ var listInstance = Blaze.getView(listDom).templateInstance();
+ listInstance.get('component').openForm();
Popup.close();
},
'click .js-list-subscribe': function() {},