contributoragreements / ca-cla-chooser

A modern contributor license agreement chooser developed on the latest technologies – legally, technically and for people.
MIT License
8 stars 1 forks source link

fixing doubled id in outbound-no-comittment #23

Closed step21 closed 4 years ago

step21 commented 4 years ago

IDs are supposed to be unique per document, and jquery will use getElementByID which only gets the first ID. As the template is inserted into the document at least twice, only the first version got modified. As a fix, I added a class to the outbound-no-commitment section of the document, and nuked/hid that instead of the ID. Fixes #17

Might have to check everything if this happens for other cases too.