From 48d9ecdb91e1dee8ac289c4ce83ea9368e10919c Mon Sep 17 00:00:00 2001 From: James Campos Date: Tue, 2 Aug 2011 12:56:28 -0700 Subject: [PATCH] Revert "better hovering fix" This reverts commit 1bd822d4fbdb72a6500e13e6c5fdb101b93479e9. the cure is worse than the disease --- 4chan_x.user.js | 13 ------------- script.coffee | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 833fd6e85..3b982e91a 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -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); diff --git a/script.coffee b/script.coffee index f3929a0b1..d16475f42 100644 --- a/script.coffee +++ b/script.coffee @@ -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