Remove the narrow/unarrow opacity animation.

It increases the time to narrow without really helping indicate that
you are narrowed.

(imported from commit deacd4480cd07502905cd9f157eb34bc9391f377)
This commit is contained in:
Jessica McKellar 2013-07-11 16:59:15 -04:00
parent a1cea767fe
commit 3ddf0187b9
1 changed files with 0 additions and 2 deletions

View File

@ -468,7 +468,6 @@ exports.activate = function (operators, opts) {
$("#main_div").addClass("narrowed_view"); $("#main_div").addClass("narrowed_view");
$("#zfilt").addClass("focused_table"); $("#zfilt").addClass("focused_table");
$("#zhome").removeClass("focused_table"); $("#zhome").removeClass("focused_table");
$("#zfilt").css("opacity", 0).animate({opacity: 1});
// Deal with message condensing/uncondensing. // Deal with message condensing/uncondensing.
// In principle, this code causes us to scroll around because divs // In principle, this code causes us to scroll around because divs
@ -555,7 +554,6 @@ exports.deactivate = function () {
$("#searchbox").removeClass('narrowed_view'); $("#searchbox").removeClass('narrowed_view');
$("#zfilt").removeClass('focused_table'); $("#zfilt").removeClass('focused_table');
$("#zhome").addClass('focused_table'); $("#zhome").addClass('focused_table');
$("#zhome").css("opacity", 0).animate({opacity: 1});
$('#search_query').val(''); $('#search_query').val('');
reset_load_more_status(); reset_load_more_status();