BUGFIX: cloaking code

This commit is contained in:
Sam 2014-06-02 10:58:46 +10:00
parent 0be6bcacee
commit f8c095873c

View file

@ -333,7 +333,7 @@
render: function(buffer) {
var containedView = this._containedView, self = this;
if (containedView && (containedView._state || containedView._state) !== 'inDOM') {
if (containedView && (containedView._state || containedView.state) !== 'inDOM') {
containedView.triggerRecursively('willInsertElement');
containedView.renderToBuffer(buffer);
containedView.transitionTo('inDOM');