Skip to content
Browse files

fix intermittent bad handlebars context

  • Loading branch information...
1 parent b1ac0a7 commit 234827ba4496e7b8d7805c49d2bd478a807e015f @dgreensp dgreensp committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/templating/deftemplate.js
View
2 packages/templating/deftemplate.js
@@ -8,7 +8,7 @@
var orig = Handlebars._default_helpers.each;
Handlebars._default_helpers.each = function (arg, options) {
if (!(arg instanceof LocalCollection.Cursor))
- return orig(arg, options);
+ return orig.call(this, arg, options);
return Meteor.ui.listChunk(arg, options.fn, options.inverse, null);
};

0 comments on commit 234827b

Please sign in to comment.
Something went wrong with that request. Please try again.