Skip to content

Commit 4be2e20

Browse files
committed
feat: haptic feedback on mobile file upload completion
1 parent feffffd commit 4be2e20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/js/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,6 +1331,7 @@ async function uploadFiles(files) {
13311331
setTimeout(resolve, 1200);
13321332
return;
13331333
}
1334+
if (navigator.vibrate) navigator.vibrate([50]);
13341335
resolve();
13351336
};
13361337

0 commit comments

Comments
 (0)