From cffe6351a9f8e2777b6d4c078c89bd8f215de603 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sun, 6 Oct 2024 00:10:44 +0200 Subject: Fixed edit function not working because js bs Because for loop would declare a global variable, the closures would use the el of previous scope. --- t_idea/edit.html | 2 +- t_idea/index.html | 19 +++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) (limited to 't_idea') diff --git a/t_idea/edit.html b/t_idea/edit.html index 8a7885c..725a111 100644 --- a/t_idea/edit.html +++ b/t_idea/edit.html @@ -33,7 +33,7 @@ input[name="title"] {

- +

by {{.Author}} on {{.CreatedAt}}

diff --git a/t_idea/index.html b/t_idea/index.html index f845628..97b68dd 100644 --- a/t_idea/index.html +++ b/t_idea/index.html @@ -40,24 +40,23 @@

No ideas here... Be the first one to think!

{{ end }} - -- cgit v1.2.3