diff --git a/LICENSE b/LICENSE index d1444b9b4..ae78c588e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* 4chan X - Version 1.1.11 - 2013-05-04 +* 4chan X - Version 1.1.11 - 2013-05-05 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE diff --git a/builds/4chan-X.js b/builds/4chan-X.js index 7ff0e4c2a..986996419 100644 --- a/builds/4chan-X.js +++ b/builds/4chan-X.js @@ -18,7 +18,7 @@ // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC // ==/UserScript== /* -* 4chan X - Version 1.1.11 - 2013-05-04 +* 4chan X - Version 1.1.11 - 2013-05-05 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE @@ -7356,7 +7356,9 @@ } } Unread.addPosts(posts); - return Unread.scroll(); + if (Conf['Scroll to Last Read Post']) { + return Unread.scroll(); + } }, scroll: function() { var hash, post, posts, prevID, root; diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 167240639..5ef83d34f 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -18,7 +18,7 @@ // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC // ==/UserScript== /* -* 4chan X - Version 1.1.11 - 2013-05-04 +* 4chan X - Version 1.1.11 - 2013-05-05 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE @@ -7377,7 +7377,9 @@ } } Unread.addPosts(posts); - return Unread.scroll(); + if (Conf['Scroll to Last Read Post']) { + return Unread.scroll(); + } }, scroll: function() { var hash, post, posts, prevID, root; diff --git a/builds/crx/script.js b/builds/crx/script.js index 3c8ff0f0c..3c9c9921f 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1,5 +1,5 @@ /* -* 4chan X - Version 1.1.11 - 2013-05-04 +* 4chan X - Version 1.1.11 - 2013-05-05 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE @@ -7355,7 +7355,9 @@ } } Unread.addPosts(posts); - return Unread.scroll(); + if (Conf['Scroll to Last Read Post']) { + return Unread.scroll(); + } }, scroll: function() { var hash, post, posts, prevID, root; diff --git a/src/Monitoring/Unread.coffee b/src/Monitoring/Unread.coffee index f81af4414..0d322e4b1 100644 --- a/src/Monitoring/Unread.coffee +++ b/src/Monitoring/Unread.coffee @@ -30,7 +30,7 @@ Unread = for ID, post of Unread.thread.posts posts.push post if post.isReply Unread.addPosts posts - Unread.scroll() + Unread.scroll() if Conf['Scroll to Last Read Post'] scroll: -> # Let the header's onload callback handle it.