diff --git a/resources/views/admin/home.blade.php b/resources/views/admin/home.blade.php index e57d91c..4ce5675 100644 --- a/resources/views/admin/home.blade.php +++ b/resources/views/admin/home.blade.php @@ -436,7 +436,7 @@ } function typeSwitchListener () { $("[name=type-switch]").change(function () { - console.log($(this.val())) + console.log($(this).val()) }) } (function () {