OpenCut/apps
Nathan Clark 43bfdcdb93 stopPropagation is a method on Event.prototype that uses this internally. When destructured ({ stopPropagation }), it loses its binding to the event object, so calling stopPropagation() throws a TypeError — which silently prevents toggleSavedSound and addSoundToTimeline from ever executing.
Using e.stopPropagation() keeps the method bound to the event. Both buttons should work now.
2026-03-17 12:46:52 -05:00
..
web stopPropagation is a method on Event.prototype that uses this internally. When destructured ({ stopPropagation }), it loses its binding to the event object, so calling stopPropagation() throws a TypeError — which silently prevents toggleSavedSound and addSoundToTimeline from ever executing. 2026-03-17 12:46:52 -05:00