From 4de195ad5f565bbee1ec9d6e6dca0c69333a3bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A9?= Date: Wed, 1 Sep 2021 08:53:56 +0200 Subject: [PATCH] details hide by default --- app/views/admin/buy_lists/index.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/admin/buy_lists/index.html.haml b/app/views/admin/buy_lists/index.html.haml index 8274a67..3c91d27 100644 --- a/app/views/admin/buy_lists/index.html.haml +++ b/app/views/admin/buy_lists/index.html.haml @@ -263,6 +263,7 @@ } :javascript + $('.detail').hide() $('.plus').click(function(event){ console.log(event.currentTarget); $(event.currentTarget).parent().parent().next('tbody.detail').toggle();