Skip to content

Commit 7050f36

Browse files
committed
Fix: Mouseup event was not being removed from input element for search, resulting in a memory leak
https://datatables.net/forums/discussion/76200
1 parent 0196391 commit 7050f36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/core/core.filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function _fnFeatureHtmlFilter ( settings )
6363
_fnThrottle( searchFn, searchDelay ) :
6464
searchFn
6565
)
66-
.on( 'mouseup', function(e) {
66+
.on( 'mouseup.DT', function(e) {
6767
// Edge fix! Edge 17 does not trigger anything other than mouse events when clicking
6868
// on the clear icon (Edge bug 17584515). This is safe in other browsers as `searchFn`
6969
// checks the value to see if it has changed. In other browsers it won't have.

0 commit comments

Comments
 (0)