flipdown
flipdown copied to clipboard
Avoid creating multiple Flipdown instances
https://github.com/PButcher/flipdown/blob/2c4b2e928fc8098e2d195023ab4d17478d2e20cd/src/flipdown.js#L28
To
this.element = document.getElementById(el);
this.initialised = this.element.hasChildNodes();