Passed
Push — develop ( 667015...92f810 )
by Benjamin
03:02
created
src/Plugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@
 block discarded – undo
221 221
 
222 222
             Craft::$app->getView()->registerAssetBundle(LoginAsset::class);
223 223
 
224
-            Craft::$app->getView()->registerJs('var socialLoginForm = new Craft.SocialLoginForm(' . json_encode($jsLoginProviders) . ', ' . json_encode($error) . ');');
224
+            Craft::$app->getView()->registerJs('var socialLoginForm = new Craft.SocialLoginForm('.json_encode($jsLoginProviders).', '.json_encode($error).');');
225 225
         }
226 226
     }
227 227
 
Please login to merge, or discard this patch.