diff options
author | David Gay <david@davidgay.org> | 2021-05-23 22:09:16 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-23 22:09:16 -0400 |
commit | 99a2ec9a166a36cfc44577d95c6d245c28709ee1 (patch) | |
tree | 568a4e1218d5deab2de6438c6e25e72feee75299 | |
parent | 9b22350cb6da529f5ea9d161ce995bb7a78f72b3 (diff) |
Elements with data-turbolinks-permanent need an id or it won't work
-rw-r--r-- | app/views/layouts/application.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 6a2510b..9b9b23a 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -26,12 +26,12 @@ <%= yield %> </div> <% if user_signed_in? %> - <div class="game-container-box col-span-12 sm:col-span-4" + <div id="chat" class="game-container-box col-span-12 sm:col-span-4" data-turbolinks-permanent> <%= render "chat" %> </div> <% else %> - <div class="game-container-box col-span-12 sm:col-span-4" + <div id="game_info" class="game-container-box col-span-12 sm:col-span-4" data-turbolinks-permanent> <%= render "game_info" %> </div> |