Bundled output for commit 4d579c50b6 [skip ci]
This commit is contained in:
parent
4d579c50b6
commit
749f54d7cf
3 changed files with 2 additions and 9 deletions
|
|
@ -1059,13 +1059,6 @@ var coreRenderer = function($window) {
|
|||
if (child != null) onremove(child)
|
||||
}
|
||||
}
|
||||
// Chrome emits a `blur` event on children1 when they are removed,
|
||||
// but *before* they dereference their parent...
|
||||
// https://stackoverflow.com/questions/21926083/failed-to-execute-removechild-on-node#22934552
|
||||
// https://github.com/MithrilJS/mithril.js/issues/1771
|
||||
if (vnode.events != null && vnode.events.onblur != null) {
|
||||
vnode.dom.removeEventListener("blur", vnode.events, false)
|
||||
}
|
||||
}
|
||||
}
|
||||
//attrs2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue