Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/layouts/_javascripts.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
cookie need the popup.
We have to use JavaScript to remember their choice or risk issues
when full page caching is enabled. %>
if (localStorage.getItem("accepted_tos") !== "<%= @current_tos_version %>" && Cookies.get("accepted_tos") !== "<%= @current_tos_version %>") {
if ((!isSupported() || localStorage.getItem("accepted_tos") !== "<%= @current_tos_version %>") && Cookies.get("accepted_tos") !== "<%= @current_tos_version %>") {
$j("body").prepend("<%= escape_javascript(render "layouts/tos_prompt") %>");
}
<% end %>
Expand Down
Loading