Skip to content

Commit

Permalink
bring username out of script tag for lobsters#554
Browse files Browse the repository at this point in the history
  • Loading branch information
pushcx committed Jun 29, 2022
1 parent 44c89a5 commit bbd4887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit bbd4887

Please sign in to comment.