Skip to content

Commit e4bc5eb

Browse files
committed
Rebuild dist assets
1 parent bbd77c2 commit e4bc5eb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/LiveComponent/assets/dist/live_controller.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2832,8 +2832,7 @@ class LiveControllerDefault extends Controller {
28322832
if (!(element instanceof HTMLElement)) {
28332833
throw new Error('Could not update model for non HTMLElement');
28342834
}
2835-
if (element instanceof HTMLInputElement
2836-
&& element.type === 'file') {
2835+
if (element instanceof HTMLInputElement && element.type === 'file') {
28372836
const key = (_a = element.dataset.model) !== null && _a !== void 0 ? _a : element.name;
28382837
if ((_b = element.files) === null || _b === void 0 ? void 0 : _b.length) {
28392838
this.pendingFiles[key] = element.files;

0 commit comments

Comments
 (0)