teijo / jquery-bracket

jQuery Bracket library for organizing single and double elimination tournaments
http://aropupu.fi/bracket/
MIT License
481 stars 255 forks source link

fix options handover (issue with disableToolbar) #162

Open tomdelano opened 5 years ago

tomdelano commented 5 years ago

since the commit for "Refactor argument validation" there is an issue that disableToolbar is not correctly working because its init in case of undefined is not handed over to the parseOptions function. This pull request helps but I guess it would be anyway better to put all the parsing and validation into the parseOptions function.