From 6502b00009c123a7176494b98968722e942f8fb8 Mon Sep 17 00:00:00 2001 From: Abbas Arif <43321373+buzzclue@users.noreply.github.com> Date: Thu, 24 Nov 2022 05:41:24 +0500 Subject: [PATCH] use jquery from env Most of the times the only thing user is ever going to override is the jQuery use, have it in the env is very convenient so one can override it dynamically by simply updating value in the file. --- src/config/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/config.php b/src/config/config.php index ca2e8c0..c102756 100644 --- a/src/config/config.php +++ b/src/config/config.php @@ -3,7 +3,7 @@ return [ //'default_namespace' => 'App\Widgets', - 'use_jquery_for_ajax_calls' => false, + 'use_jquery_for_ajax_calls' => env('ARRILOT_USE_JQUERY', false), /* * Set Ajax widget middleware