Skip to content

Conversation

@fru
Copy link

@fru fru commented May 30, 2016

Hey,

this is the fix for a bug I had, on mobile devices, where I needed to register a lot of swipebox instances on a single page. The swipebox would open really slowly because there were many click listerners on $(document) at the same time. Alternatively if a single click listeners is not wanted, please consider removing the listerner on destroy.

Thank you,
Florian Rüberg

This is the fix for a bug I had on mobile devices, where I needed to register a lot of swipebox instances on a single Page. The swipebox would start to open slower and slower because there were many click listerners on $(document) at the same time. Alternatively if a single click listeners is not wanted, please consider removing the listerner on destroy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant