|Reported by:||peet||Owned by:|
|Keywords:||wrap reloads event twice||Cc:|
if i put a document.ready event inside a div, and then wrap the div with an other element, the document.ready event is triggered again.
the strange behavior is only happening ones. If it was intended i expect it to happen on every wrap instead it happens only the first time.
See my example, when a click event is registered to a button. the first time it is clicked, it is triggered once, after that it is triggered twice. but never more then 2 times.