Skip to content

Commit

Permalink
fix DOMNodeRemovedFromDocument 操作
Browse files Browse the repository at this point in the history
  • Loading branch information
RubyLouvre committed Aug 21, 2014
1 parent 80d1769 commit bd17374
Show file tree
Hide file tree
Showing 5 changed files with 142 additions and 107 deletions.
4 changes: 3 additions & 1 deletion avalon.js
Original file line number Diff line number Diff line change
Expand Up @@ -3075,7 +3075,9 @@
}
}
if (window.chrome) {
elem.addEventListener("DOMNodeRemovedFromDocument", offTree)
elem.addEventListener("DOMNodeRemovedFromDocument", function(){
setTimeout(offTree)
})
} else {
avalon.tick(offTree)
}
Expand Down
Loading

0 comments on commit bd17374

Please sign in to comment.