Show floating recipient bar on faded messages.

Trac #1837

(imported from commit 1f90b02a5a07b5ce106ad935a4b1cf18e47a0909)
This commit is contained in:
Kevin Mehall 2013-10-04 12:01:49 -04:00
parent 1975a6f693
commit e29855e106
2 changed files with 4 additions and 6 deletions

View File

@ -511,6 +511,7 @@ function replace_floating_recipient_bar(desired_label) {
new_label.css('display', 'table-row');
new_label.attr("zid", rows.id(desired_label));
new_label.toggleClass('faded', desired_label.hasClass('faded'));
old_label = desired_label;
}
show_floating_recipient_bar();
@ -562,12 +563,6 @@ exports.update_floating_recipient_bar = function () {
return;
}
// Hide if the message is faded
if (current_label.hasClass('faded')) {
hide_floating_recipient_bar();
return;
}
// Hide if our bottom is in our bookend (or one bookend-height
// above it). This means we're not showing any useful part of the
// message above us, so why bother showing the label?

View File

@ -1903,6 +1903,9 @@ table.floating_recipient {
table-layout: fixed;
border-collapse: separate;
width: 100%;
/* Needs body background because the child row becomes transparent when faded */
background: #f4f5f4;
}
#bottom_whitespace {