votes: fix username tooltips not appearing inside other tooltips.
Fix a bug where, when hovering over a username inside a tooltip, the username tooltip wouldn't appear. May break 0bf5ac73?
This commit is contained in:
@@ -11,7 +11,7 @@ UserTooltip.DURATION = 250;
|
|||||||
UserTooltip.MAX_WIDTH = 600;
|
UserTooltip.MAX_WIDTH = 600;
|
||||||
|
|
||||||
UserTooltip.initialize = function () {
|
UserTooltip.initialize = function () {
|
||||||
delegate("#page", {
|
delegate("body", {
|
||||||
allowHTML: true,
|
allowHTML: true,
|
||||||
appendTo: document.querySelector("#user-tooltips"),
|
appendTo: document.querySelector("#user-tooltips"),
|
||||||
delay: [UserTooltip.SHOW_DELAY, UserTooltip.HIDE_DELAY],
|
delay: [UserTooltip.SHOW_DELAY, UserTooltip.HIDE_DELAY],
|
||||||
|
|||||||
@@ -99,11 +99,12 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="tooltips">
|
<div id="tooltips">
|
||||||
|
<%# Order matters here; items at the bottom of the list appear on top of earlier items %>
|
||||||
<div id="post-tooltips"></div>
|
<div id="post-tooltips"></div>
|
||||||
<div id="user-tooltips"></div>
|
|
||||||
<div id="comment-votes-tooltips"></div>
|
<div id="comment-votes-tooltips"></div>
|
||||||
<div id="post-votes-tooltips"></div>
|
<div id="post-votes-tooltips"></div>
|
||||||
<div id="post-favorites-tooltips"></div>
|
<div id="post-favorites-tooltips"></div>
|
||||||
|
<div id="user-tooltips"></div>
|
||||||
<div id="popup-menus"></div>
|
<div id="popup-menus"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user