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)
This commit is contained in:
Waseem Daher 2013-01-09 16:59:38 -05:00
parent 3a585505a4
commit a629f7edf6
1 changed files with 0 additions and 2 deletions

View File

@ -209,7 +209,6 @@ exports.activate = function (operators, opts) {
$("#zfilt").addClass("focused_table"); $("#zfilt").addClass("focused_table");
reset_load_more_status(); reset_load_more_status();
$("#show_all_messages").removeAttr("disabled");
$("#main_div").addClass("narrowed_view"); $("#main_div").addClass("narrowed_view");
$("#searchbox").addClass("narrowed_view"); $("#searchbox").addClass("narrowed_view");
@ -287,7 +286,6 @@ exports.deactivate = function () {
reset_load_more_status(); reset_load_more_status();
$("#main_div").removeClass('narrowed_view'); $("#main_div").removeClass('narrowed_view');
$("#searchbox").removeClass('narrowed_view'); $("#searchbox").removeClass('narrowed_view');
$("#show_all_messages").attr("disabled", "disabled");
$('#search_query').val(''); $('#search_query').val('');
// Includes scrolling. // Includes scrolling.
select_message_by_id(persistent_message_id, {then_scroll: true}); select_message_by_id(persistent_message_id, {then_scroll: true});