prevent setting NodeList length
This commit is contained in:
parent
3806d2f53d
commit
0f5d051d4b
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ Mithril = m = new function app(window) {
|
||||||
if (cached[i]) unload(cached[i])
|
if (cached[i]) unload(cached[i])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
nodes.length = 0
|
if (nodes.length != 0) nodes.length = 0
|
||||||
}
|
}
|
||||||
function unload(cached) {
|
function unload(cached) {
|
||||||
if (cached.configContext && typeof cached.configContext.onunload == "function") cached.configContext.onunload()
|
if (cached.configContext && typeof cached.configContext.onunload == "function") cached.configContext.onunload()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue