flagstrap icon indicating copy to clipboard operation
flagstrap copied to clipboard

[BUG] Added a click event to the generated button…

Open sjoller opened this issue 7 years ago • 1 comments

… and a toggle() on the OL list when an item is clicked. Minor other changes, like switching all 'var's to, the ES6 standard, 'let' is also added.

For some reason there was no events registered to the generated button - at first I thought i might be an issue with versions of jQuery (the demo site is using jQuery v1.11.2, and I'm on v3.2.1), but looking at the source, there was no events registered. Unless there's an inconsistency from the source to the minified source, it's beyond me how this actually work on the demo site...

sjoller avatar Oct 03 '18 13:10 sjoller

Hi,

I don't mind making a pull request, but I've taken my fork way beyond a single PR, at this point. We had specific needs in our project, so it's pretty much tailored to that - you might not want it all merged in.

Let me know if you're still interested.

sjoller avatar May 29 '19 13:05 sjoller