We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gpfup-require-camera.js
1 parent c8f740f commit d0b75a5Copy full SHA for d0b75a5
gp-file-upload-pro/gpfup-require-camera.js
@@ -14,7 +14,7 @@
14
gform.addAction( 'gpfup_uploader_ready', function( gpfup ) {
15
gpfup.Uploader.bind( 'PostInit', function() {
16
$( gpfup.$field ).find( 'input[type="file"]' )
17
- .attr( 'capture', 'camera' )
+ .attr( 'capture', 'camera' ) // Update to "user" to encourage use of front camera.
18
.attr( 'accept', 'image/*' );
19
}, gpfup );
20
} );
0 commit comments