bring username out of script tag for #554

This commit is contained in:
Peter Bhat Harkins 2022-06-29 07:47:44 -05:00
parent 44c89a5e62
commit bbd4887b93
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
href="<%= @comments_rss_link[:href] %>" />
<% end %>
</head>
<body>
<body data-username='<%= @user.try(:username) %>'>
<header id="nav">
<a id="logo" style="<%= @traffic_style %>" href="/" title="<%= Rails.application.name %> (Current traffic: <%= @traffic_intensity.to_i %>%)"></a>