Skip to content

Commit 2206357

Browse files
committed
common.js ts型チェック。
1 parent 40a5e2f commit 2206357

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

petitnote/template/basic/js/common.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ if (elem_form_submit && (elem_attach_image || paint_com)) {
229229
if (
230230
paint_com ||
231231
(elem_attach_image instanceof HTMLInputElement &&
232+
elem_attach_image.files &&
232233
elem_attach_image.files.length > 0)
233234
) {
234235
if (elem_check_nsfw) {

0 commit comments

Comments
 (0)