Skip to content

Commit c74f689

Browse files
Lustmoredweaverryan
authored andcommitted
Rebuild dist assets
1 parent c7c56f0 commit c74f689

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/LiveComponent/assets/dist/live_controller.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -2834,8 +2834,7 @@ class LiveControllerDefault extends Controller {
28342834
if (!(element instanceof HTMLElement)) {
28352835
throw new Error('Could not update model for non HTMLElement');
28362836
}
2837-
if (element instanceof HTMLInputElement
2838-
&& element.type === 'file') {
2837+
if (element instanceof HTMLInputElement && element.type === 'file') {
28392838
const key = (_a = element.dataset.model) !== null && _a !== void 0 ? _a : element.name;
28402839
if ((_b = element.files) === null || _b === void 0 ? void 0 : _b.length) {
28412840
this.pendingFiles[key] = element.files;

0 commit comments

Comments
 (0)