From 51bea121ce412a07aeb428d9808af1514cbc694f Mon Sep 17 00:00:00 2001 From: Anonymous Date: Sun, 13 Sep 2015 01:02:19 +0200 Subject: [PATCH 1/2] Add a small margin to the off-screen post pop-up. Without this margin you have to keep your mouse very still while hovering a post quote for a post that is off-screen, otherwise, by placing the mouse on the pop-up itself, the mouseover event is triggered and the pop-up disappears, making for a very annoying user experience when reading post pop-ups. This patch separates the pop-up from the mouse so that this doesn't happen. --- js/post-hover.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/post-hover.js b/js/post-hover.js index e30cbf43..0a03c1a2 100644 --- a/js/post-hover.js +++ b/js/post-hover.js @@ -77,6 +77,7 @@ onready(function(){ .css('position', 'absolute') .css('font-style', 'normal') .css('z-index', '100') + .css('margin-left', '1em') .addClass('reply').addClass('post') .insertAfter($link.parent()) From 1743d3cf11eb4f77a171bb97f99ea2e2dbeb8e1e Mon Sep 17 00:00:00 2001 From: Anonymous Date: Sun, 13 Sep 2015 01:10:49 +0200 Subject: [PATCH 2/2] Indentation error. --- js/post-hover.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/post-hover.js b/js/post-hover.js index 0a03c1a2..e21cacf7 100644 --- a/js/post-hover.js +++ b/js/post-hover.js @@ -77,7 +77,7 @@ onready(function(){ .css('position', 'absolute') .css('font-style', 'normal') .css('z-index', '100') - .css('margin-left', '1em') + .css('margin-left', '1em') .addClass('reply').addClass('post') .insertAfter($link.parent())