diff --git a/static/js/feature_flags.js b/static/js/feature_flags.js index eb44b3fe28..02d7f1bb92 100644 --- a/static/js/feature_flags.js +++ b/static/js/feature_flags.js @@ -28,10 +28,6 @@ exports.is_og_zulip_user = _.contains(og_zuliper_emails, page_params.email); exports.twenty_four_hour_time = special_24_hour_people || iceland; exports.left_side_userlist = _.contains(['customer7.invalid'], page_params.domain); -//This was set as a page_params variable already, because it's also used in -//the settings.html django template. See zerver/views/__init__.py:home(request). -exports.show_autoscroll_forever_option = page_params.show_autoscroll_forever_option; - exports.enable_new_user_app_alerts = ! _.contains(['employees.customer16.invalid'], page_params.domain); // Still very beta: diff --git a/static/js/settings.js b/static/js/settings.js index 5d702f2817..3304254d8c 100644 --- a/static/js/settings.js +++ b/static/js/settings.js @@ -650,8 +650,7 @@ exports.setup_page = function () { success: function (resp, statusText, xhr, form) { var message = "Updated " + page_params.product_name + " Labs settings!"; var result = $.parseJSON(xhr.responseText); - var ui_settings_status = feature_flags.show_autoscroll_forever_option && - $('#ui-settings-status').expectOne(); + var ui_settings_status = $('#ui-settings-status').expectOne(); if (result.autoscroll_forever !== undefined) { page_params.autoscroll_forever = result.autoscroll_forever; @@ -664,8 +663,7 @@ exports.setup_page = function () { }, error: function (xhr, error_type, xhn) { var response = "Error changing settings"; - var ui_settings_status = feature_flags.show_autoscroll_forever_option && - $('#ui-settings-status').expectOne(); + var ui_settings_status = $('#ui-settings-status').expectOne(); if (xhr.status.toString().charAt(0) === "4") { // Only display the error response for 4XX, where we've crafted diff --git a/static/templates/settings_tab.handlebars b/static/templates/settings_tab.handlebars index c090fbd783..9079f248e5 100644 --- a/static/templates/settings_tab.handlebars +++ b/static/templates/settings_tab.handlebars @@ -311,18 +311,15 @@ -{{#if_or page_params.show_autoscroll_forever_option page_params.show_default_desktop_notifications_option}}
- {{ page_params.product_name }} Labs is where you can try out some experimental new - features we're working on. Let us know what you think! + Warning: the below features are experimental features and may not work as well as you would like.