Skip to content

Commit 6be1487

Browse files
authored
gpqr-add-support-for-camera-zoom.js: Added support for camera zoom during QR code scanning.
1 parent 818bf08 commit 6be1487

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/**
2+
* Gravity Perks // GP QR Code // Add Support for Camera Zoom
3+
* https://gravitywiz.com/documentation/gravity-forms-qr-code/
4+
*
5+
* Instructions:
6+
*
7+
* 1. Install this snippet with our free Custom JavaScript plugin.
8+
* https://gravitywiz.com/gravity-forms-code-chest/
9+
*/
10+
window.gform.addFilter( 'gpqr_scanner_config', function( config, instance, formats ) {
11+
config['showZoomSliderIfSupported'] = true;
12+
return config;
13+
} );

0 commit comments

Comments
 (0)