From 028c2e4ec93fd97c08b5f950d21b1f3f171daca9 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 10 Jun 2022 12:29:06 -0700 Subject: [PATCH] ui_init: Remove unused .subscription_header hover handlers. Signed-off-by: Anders Kaseorg --- static/js/ui_init.js | 8 -------- static/styles/subscriptions.css | 8 -------- 2 files changed, 16 deletions(-) diff --git a/static/js/ui_init.js b/static/js/ui_init.js index 62d1eac689..12f58ab9c8 100644 --- a/static/js/ui_init.js +++ b/static/js/ui_init.js @@ -353,14 +353,6 @@ export function initialize_kitchen_sink_stuff() { $(this).removeClass("fa fa-play"); }); - $("#manage_streams_container").on("mouseover", ".subscription_header", function () { - $(this).addClass("active"); - }); - - $("#manage_streams_container").on("mouseout", ".subscription_header", function () { - $(this).removeClass("active"); - }); - $("#stream_message_recipient_stream").on("change", function () { stream_bar.decorate(this.value, $("#stream-message .message_header_stream"), true); }); diff --git a/static/styles/subscriptions.css b/static/styles/subscriptions.css index 184b1ca473..1ede87cbbe 100644 --- a/static/styles/subscriptions.css +++ b/static/styles/subscriptions.css @@ -10,18 +10,10 @@ margin: 0; } -.subscription_header.collapsed { - background-color: inherit; -} - .subscriptions div #response { overflow-wrap: break-word; } -.subscription_header { - min-height: 47px; -} - .subscription_settings .btn { border-radius: 2px; }