gregersrygg / crapLoader

Asynchronous script loader/runner for ads, widgets and other third-party content
71 stars 10 forks source link

Fixed case when a same element is searched twice by getElementById() #8

Closed colinux closed 12 years ago

colinux commented 12 years ago

If the element was created in buffer, we need to return the second time the same element as the first time because it could have been modified (attributes, new childs etc...)

gregersrygg commented 12 years ago

Awesome! Thank you :)