prevent setting NodeList length

This commit is contained in:
Leo Horie 2014-07-18 20:14:38 -04:00
parent 3806d2f53d
commit 0f5d051d4b

View file

@ -241,7 +241,7 @@ Mithril = m = new function app(window) {
if (cached[i]) unload(cached[i])
}
}
nodes.length = 0
if (nodes.length != 0) nodes.length = 0
}
function unload(cached) {
if (cached.configContext && typeof cached.configContext.onunload == "function") cached.configContext.onunload()