Skip to content

Commit

Permalink
gpfup-require-camera.js: Added comment about encouraging front came…
Browse files Browse the repository at this point in the history
…ra usage.
  • Loading branch information
spivurno authored Sep 27, 2024
1 parent c8f740f commit d0b75a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gp-file-upload-pro/gpfup-require-camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
gform.addAction( 'gpfup_uploader_ready', function( gpfup ) {
gpfup.Uploader.bind( 'PostInit', function() {
$( gpfup.$field ).find( 'input[type="file"]' )
.attr( 'capture', 'camera' )
.attr( 'capture', 'camera' ) // Update to "user" to encourage use of front camera.
.attr( 'accept', 'image/*' );
}, gpfup );
} );

0 comments on commit d0b75a5

Please sign in to comment.