diff --git a/mithril.js b/mithril.js index 1bc3adba..f666364e 100644 --- a/mithril.js +++ b/mithril.js @@ -187,7 +187,7 @@ new function(window) { m.endComputation() } m.redraw = function() { - m.render(currentRoot || window.document, currentModule.view(currentController)) + m.render(currentRoot, currentModule.view(currentController)) lastRedraw = now } function redraw() {