Revert "better hovering fix"
This reverts commit 1bd822d4fbdb72a6500e13e6c5fdb101b93479e9. the cure is worse than the disease
This commit is contained in:
parent
3a95259384
commit
48d9ecdb91
@ -2119,19 +2119,6 @@
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
/*
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=674955
|
||||
`mouseout` does not fire when element removed
|
||||
RESOLVED INVALID
|
||||
|
||||
inline a post, then hover over an inlined quote / image, then remove
|
||||
the inlined post by clicking `enter` on the still-focused link - the
|
||||
mouseout event doesn't fire, and the quote preview / image hover remains.
|
||||
|
||||
we can prevent this sequence by `blur`-ing the clicked links. chrome
|
||||
doesn't focus clicked links anyway.
|
||||
*/
|
||||
this.blur();
|
||||
id = this.hash.slice(1);
|
||||
if (table = $("#i" + id, $.x('ancestor::td[1]', this))) {
|
||||
$.rm(table);
|
||||
|
||||
@ -1648,19 +1648,6 @@ quoteInline =
|
||||
return if e.shiftKey or e.altKey or e.ctrlKey or e.button isnt 0
|
||||
|
||||
e.preventDefault()
|
||||
###
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=674955
|
||||
`mouseout` does not fire when element removed
|
||||
RESOLVED INVALID
|
||||
|
||||
inline a post, then hover over an inlined quote / image, then remove
|
||||
the inlined post by clicking `enter` on the still-focused link - the
|
||||
mouseout event doesn't fire, and the quote preview / image hover remains.
|
||||
|
||||
we can prevent this sequence by `blur`-ing the clicked links. chrome
|
||||
doesn't focus clicked links anyway.
|
||||
###
|
||||
@blur()
|
||||
id = @hash[1..]
|
||||
if table = $ "#i#{id}", $.x 'ancestor::td[1]', @
|
||||
$.rm table
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user