-
Notifications
You must be signed in to change notification settings - Fork 350
Open
Description
the current approach in the destroy method doesn't remove all the bound event handlers
$(window).off(namespace); only removes event handlers bound to the window object
https://github.com/rstaib/jquery-bootgrid/blob/master/dist/jquery.bootgrid.js#L1443
as you can see from the output here https://jsbin.com/xavosu/edit?js,output in the console, after destroy there are 8 handlers remaining
at the moment, every LI and TD a.sort header in the table has an individual handler, it probably would be simpler to bind to the TR.header and UL.dropdown-menu's and then check event.currentTarget
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels