Be less restrictive about duplicate id. In 'getById' function favor element that's currently in the document.
Be less restrictive about duplicate id. In 'getById' function favor element that's currently in the document.

medikoo/domjs