mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
fixes bug with template subscribe
This commit is contained in:
@@ -364,7 +364,7 @@ Blaze.TemplateInstance.prototype.subscribe = function (/* arguments */) {
|
||||
|
||||
if (_.isFunction(lastParam)) {
|
||||
options.onReady = args.pop();
|
||||
} else if (lastParam && Match.test(lastParam, lastParamOptionsPattern)) {
|
||||
} else if (lastParam && ! _.isEmpty(lastParam) && Match.test(lastParam, lastParamOptionsPattern)) {
|
||||
options = args.pop();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user