diff --git a/packages/liveui/livedocument.js b/packages/liveui/livedocument.js index 6f5bfdc3e5..019659461f 100644 --- a/packages/liveui/livedocument.js +++ b/packages/liveui/livedocument.js @@ -153,7 +153,18 @@ Meteor.ui._doc = Meteor.ui._doc || {}; cx.on_invalidate(Meteor.ui._doc._doCallbacks); cx.invalidate(); - return makeFrag(topHtml); + var oldNumRanges = Meteor.ui._doc._newRanges.length; + + var topFrag = makeFrag(topHtml); + + // call "materialized" callbacks immediately + for(var i=oldNumRanges, N=Meteor.ui._doc._newRanges.length; + i