Skip to content

Commit 93a5753

Browse files
committed
Code linting
1 parent 7d48ffd commit 93a5753

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/client/autoform.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
AutoForm.addInputType("fileUpload", {
2-
template: "afFileUpload"
1+
AutoForm.addInputType('fileUpload', {
2+
template: 'afFileUpload'
33
});
44

55
AutoForm._globalHooks.onSuccess.push(function (type) {
@@ -8,7 +8,9 @@ AutoForm._globalHooks.onSuccess.push(function (type) {
88
if (this.template) {
99
this.template.$('[data-reset-file]').click();
1010
}
11-
} catch (e) {}
11+
} catch (e) {
12+
// we're good here
13+
}
1214
}
1315
});
1416

0 commit comments

Comments
 (0)