From 7142f755f5c78a3d3f3c05d47e9584e36e51ab9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Birger=20J=2E=20Nord=C3=B8lum?= Date: Sun, 17 Jun 2018 23:07:26 +0200 Subject: [PATCH] Fixes error thrown by UglifyJS --- resources/assets/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js index 069a56a5..66d47554 100644 --- a/resources/assets/js/app.js +++ b/resources/assets/js/app.js @@ -131,7 +131,7 @@ $.when( $.ready ).then(function() { data[config] = $(this).val(); }); - $.post('/test_config', { data }, function(data) { + $.post('/test_config', { data: data }, function(data) { alert(data); });