From 97358afef91e4ff85535da75c921e64b2b6ae449 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Wed, 1 Feb 2012 20:24:38 +0100 Subject: [PATCH] Revert updatere's scrolling behavior. Fix #142 --- 4chan_x.user.js | 2 +- changelog | 1 + script.coffee | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index c3625e4f1..69534dd96 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2389,7 +2389,7 @@ } } $.before(updater.br, frag); - if (scroll) return updater.br.previousSibling.scrollIntoView(false); + if (scroll) return updater.br.previousSibling.scrollIntoView(); } }, timeout: function() { diff --git a/changelog b/changelog index 89db1b5bd..f30e55045 100644 --- a/changelog +++ b/changelog @@ -1,5 +1,6 @@ master - Mayhem + Reverted updater's scrolling behavior. Fix image posting on Firefox along with Unicode characters in the form. 2.25.1 diff --git a/script.coffee b/script.coffee index 4d941ebdc..4deff69b9 100644 --- a/script.coffee +++ b/script.coffee @@ -1887,7 +1887,7 @@ updater = $.before updater.br, frag if scroll - updater.br.previousSibling.scrollIntoView(false) + updater.br.previousSibling.scrollIntoView() timeout: -> updater.timeoutID = setTimeout updater.timeout, 1000