MCPcopy Create free account
hub / github.com/ShareDropio/sharedrop / reset

Function reset

app/components/file-field.js:22–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 // so if sender wants later to send the same file again,
21 // the 'change' event is triggered correctly.
22 reset() {
23 const field = $(this.element);
24 field.wrap('<form>').closest('form').get(0).reset();
25 field.unwrap();
26 },
27});

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected