Closed
Description
Summary
Calling autoInit() repeatedly will lead to a memory leak
Steps to Reproduce
- Have a page with Advanced Select or Dropdown (possibly more)
- Use autoInit() with ajax like described in the docs https://preline.co/docs/preline-javascript.html
- With every ajax request, duplicate event listeners are registered on the window
Demo Link
None
Expected Behavior
No response
Actual Behavior
No response
Screenshots
No response