From ef696971ab9d39e83f7ee07444606a211d8458cd Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Wed, 7 Jan 2026 16:49:40 +0100 Subject: [PATCH] can click on a day to display mode (for mobile) --- app/views/moods/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/moods/index.html.erb b/app/views/moods/index.html.erb index b1cbdae..0eeb1a5 100644 --- a/app/views/moods/index.html.erb +++ b/app/views/moods/index.html.erb @@ -14,7 +14,7 @@
<% week.each do |d| %> <% if d[1] %> -
" data-mode="<%= d[1] %>" data-day="<%= d[0] %>" data-action="mouseover->mood#updateDayInfo mouseleave->mood#updateDayInfo" title="<%= d[0] %> : <%= d[1] %>" class="day <%= d[1] %>">
+
" data-mode="<%= d[1] %>" data-day="<%= d[0] %>" data-action="click->mood#updateDayInfo mouseover->mood#updateDayInfo mouseleave->mood#updateDayInfo" title="<%= d[0] %> : <%= d[1] %>" class="day <%= d[1] %>">
<% else %>
<% end %>