mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-19 12:52:11 +01:00
955eb2cd99
- Previously it was the domain of the filtering caller to update the global filtering input element (fnFilter or the keypress handler specifically), but in keeping with the drive towards modularity, it should be the control itself that updates when needed. - This is done by listening for the `filter` event from the table and updating the display as needed. It is a touch less efficent since the same value might be written as what is already there, but it reduces code size and complexity.