don't assume document if no root element
This commit is contained in:
parent
0f1d415d85
commit
26ee6975a0
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue