Skip to content
Snippets Groups Projects
Unverified Commit 1dac9d61 authored by tribut's avatar tribut :man_dancing:
Browse files

Prevent another Javascript error

parent 5a98cf58
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ current_time = Time.zone.now.in_time_zone(@conference.time_zone) ...@@ -10,7 +10,7 @@ current_time = Time.zone.now.in_time_zone(@conference.time_zone)
<%= turbo_stream_from @conference %> <%= turbo_stream_from @conference %>
<div> <div>
<div> <div>
<a href="#now" onclick="document.querySelector('#now').scrollIntoView({ behavior: 'smooth', block: 'center', inline: 'nearest' }); return false" class="underline text-blue-500">Jump to current time</a> <a href="#now" onclick="document.querySelector('#now')?.scrollIntoView({ behavior: 'smooth', block: 'center', inline: 'nearest' }); return false" class="underline text-blue-500">Jump to current time</a>
</div> </div>
<h1 class="text-2xl font-bold my-2"><%= @conference.name %></h1> <h1 class="text-2xl font-bold my-2"><%= @conference.name %></h1>
<p class="text-xs mb-6"> <p class="text-xs mb-6">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment