Revised message actions and message info popovers

Since f8fbf70c8502 had troubles in FF and people did not like the
message-info-on-hover, this commit hopefully will work better. Tables
are likely the culprit with using dropdowns in FF, so when we stop having
the messagelist be at table, we can switch back to dropdowns which are relatively
positioned rather than absolutely on the page.

(imported from commit c49a5cd45f3439d089146771e2aa0cee6431125a)
This commit is contained in:
acrefoot
2013-07-11 17:06:58 -04:00
parent 347b222c79
commit 114eeab026
9 changed files with 149 additions and 39 deletions

View File

@@ -1003,14 +1003,14 @@ $(function () {
message_unhover();
});
$("#main_div").on("mouseover", ".actions_hover", function (e) {
$("#main_div").on("mouseover", ".message_sender", function (e) {
var row = $(this).closest(".message_row");
row.addClass("actions_hovered");
row.addClass("sender_name_hovered");
});
$("#main_div").on("mouseout", ".actions_hover", function (e) {
$("#main_div").on("mouseout", ".message_sender", function (e) {
var row = $(this).closest(".message_row");
row.removeClass("actions_hovered");
row.removeClass("sender_name_hovered");
});
$("#main_div").on("click", ".star", function (e) {