From a629f7edf6325aaf175a3bd69177ee41d0d27fc1 Mon Sep 17 00:00:00 2001 From: Waseem Daher Date: Wed, 9 Jan 2013 16:59:38 -0500 Subject: [PATCH] Remove dead reference to 'show_all_messages'. This used to be a button that let us un-narrow, I guess. A git grep for it after this commit turns up no actual references to it. (imported from commit 05acb4bb40da1b032f548c511fbae5b2b20874a8) --- zephyr/static/js/narrow.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/zephyr/static/js/narrow.js b/zephyr/static/js/narrow.js index e5499b95f1..b280200092 100644 --- a/zephyr/static/js/narrow.js +++ b/zephyr/static/js/narrow.js @@ -209,7 +209,6 @@ exports.activate = function (operators, opts) { $("#zfilt").addClass("focused_table"); reset_load_more_status(); - $("#show_all_messages").removeAttr("disabled"); $("#main_div").addClass("narrowed_view"); $("#searchbox").addClass("narrowed_view"); @@ -287,7 +286,6 @@ exports.deactivate = function () { reset_load_more_status(); $("#main_div").removeClass('narrowed_view'); $("#searchbox").removeClass('narrowed_view'); - $("#show_all_messages").attr("disabled", "disabled"); $('#search_query').val(''); // Includes scrolling. select_message_by_id(persistent_message_id, {then_scroll: true});