Skip to content

Commit

Permalink
fixed iron-meteor/iron-router#606 , UI.body.events cmather#13
Browse files Browse the repository at this point in the history
  • Loading branch information
webcrx committed May 16, 2014
1 parent 273e3ab commit 19a4742
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,9 @@ BlazeUIManager = function (router) {

BlazeUIManager.prototype = {
render: function (props, parentComponent) {
this._component = UI.render(Layout.extend(props || {}), parentComponent || UI.body);
// this._component = UI.render(Layout.extend(props || {}), parentComponent || UI.body);
var bodyLayout = UI.body.extend(Layout);
this._component = UI.render(bodyLayout.extend(props || {}), parentComponent || UI.body);
return this._component;
},

Expand Down

0 comments on commit 19a4742

Please sign in to comment.