From 576067c1e5d3586b0773035f935addc0e0724396 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 1 Jun 2019 18:06:44 -0500 Subject: [PATCH] Fix preference for web notifications --- src/invidious/views/preferences.ecr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/invidious/views/preferences.ecr b/src/invidious/views/preferences.ecr index e9d2d84c..232ce224 100644 --- a/src/invidious/views/preferences.ecr +++ b/src/invidious/views/preferences.ecr @@ -166,8 +166,8 @@ function update_value(element) { checked<% end %>> - <% # Conditions for supporting web notifications %> - <% if CONFIG.use_pubsub_feeds && (Kemal.config.ssl || config.https_only) %> + <% # Web notifications are only supported over HTTPS %> + <% if Kemal.config.ssl || config.https_only %>
<%= translate(locale, "Enable web notifications") %>