@jvilk opened this Issue on September 14th 2017 Contributor

renderDashboard adds click handlers to #columnPreview divs every time the user visits the dashboard, and never removes them:


The result is a small memory leak.


A quick fix is to add the following just before you add the new listeners:


If you are concerned about the possibility of there being other click handlers installed on the divs, you can namespace your handlers:

$('#columnPreview').find('>div').on('click.renderDashboard', ...);
This Issue was closed on October 6th 2017
Powered by GitHub Issue Mirror