We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ef87e8 commit 8b46525Copy full SHA for 8b46525
1 file changed
api/internal/pickers.js
@@ -43,6 +43,11 @@ export const db = new Database()
43
* @param {string} which
44
*/
45
function requireUserActivation (which) {
46
+ const requiresUserActivation = String(application.config[`webview_filesystem_picker_require_user_activation`]) !== 'false'
47
+ if (!requiresUserActivation) {
48
+ return
49
+ }
50
+
51
if (globalThis.navigator && 'userActivation' in globalThis.navigator) {
52
// @ts-ignore
53
if (globalThis.navigator.userActivation?.isActive === false) {
0 commit comments