akkordion icon indicating copy to clipboard operation
akkordion copied to clipboard

parentNode is not defined

Open 0xdabbad00 opened this issue 7 years ago • 1 comments

In using akkordion, I see errors in the console of Cannot read property 'parentNode' of null This is due to: https://github.com/TrySound/akkordion/blob/master/dist/akkordion.js#L128

Fix by changing the if statement to if((index = titleSet.indexOf(title)) > -1 || title === null) {

0xdabbad00 avatar Dec 12 '17 18:12 0xdabbad00

@0xdabbad00 PR welcome

TrySound avatar Dec 12 '17 20:12 TrySound