Intermittent Dupicate or triplicate divs in File Browser API using JS, JQuery

This is where you’ll be wanting a technique called debounce, which ensures that a function is called only ones per x number of milliseconds.

See Stop Clicking that Mouse! Event Debounce with Underscore.js for further good details about it.

1 Like