Removed <noscript> and the user preferences option

This commit is contained in:
RadoslavL
2023-10-22 13:54:35 +03:00
parent e307fcc9a1
commit c0d75bc52f
7 changed files with 3 additions and 25 deletions

View File

@@ -22,7 +22,6 @@
base_url: relative_url,
ctoken: next_continuation,
first_page: continuation.nil?,
previous_page_button: env.get("preferences").as(Preferences).previous_page_button
)
%>
@@ -42,9 +41,7 @@
<link rel="alternate" type="application/rss+xml" title="RSS" href="/feed/channel/<%= ucid %>" />
<%- end -%>
<%- if env.get("preferences").as(Preferences).previous_page_button -%>
<script src="/js/pagination.js?v=<%= ASSET_COMMIT %>"></script>
<%- end -%>
<link rel="alternate" href="<%= youtube_url %>">
<title><%= author %> - Invidious</title>

View File

@@ -190,11 +190,6 @@
<% end %>
</div>
<div class="pure-control-group">
<label for="previous_page_button"><%= translate(locale, "preferences_previous_page_button_label") %></label>
<input name="previous_page_button" id="previous_page_button" type="checkbox" <% if preferences.previous_page_button %>checked<% end %>>
</div>
<% if env.get? "user" %>
<div class="pure-control-group">
<label for="show_nick"><%= translate(locale, "preferences_show_nick_label") %></label>