leoherrick / jquery.mutuallyExclusive

Mutually Exclusive JQuery Plugin
GNU General Public License v3.0
4 stars 5 forks source link

Fix if html contains selected options #8

Closed rasenderhase closed 3 years ago

rasenderhase commented 8 years ago

I have provided a fix:

If the html document already contains a selected option <option selected="selected">...</option> the original_option_list data was not initialized properly. The data must be initialized only once during "jQueryfization" of the selected elements.