From 37f44f71e2ed30b7247de14bccaafc9fd7866c44 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Tue, 11 Mar 2014 11:23:54 -0700 Subject: [PATCH] Fix #633 --- LICENSE | 2 +- builds/appchan-x.user.js | 6 +++--- builds/crx/script.js | 6 +++--- src/Miscellaneous/Keybinds.coffee | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/LICENSE b/LICENSE index 424db6f8f..4e5e92518 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* appchan x - Version 2.9.2 - 2014-03-10 +* appchan x - Version 2.9.2 - 2014-03-11 * * Licensed under the MIT license. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index b8c808684..418be2b97 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -25,7 +25,7 @@ // ==/UserScript== /* -* appchan x - Version 2.9.2 - 2014-03-10 +* appchan x - Version 2.9.2 - 2014-03-11 * * Licensed under the MIT license. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE @@ -15675,13 +15675,13 @@ if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) { return; } - $('.next button', Index.pagelist).click(); + $('.next button, .next a', Index.pagelist).click(); break; case Conf['Previous page']: if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) { return; } - $('.prev button', Index.pagelist).click(); + $('.prev button, .prev a', Index.pagelist).click(); break; case Conf['Search form']: Index.searchInput.focus(); diff --git a/builds/crx/script.js b/builds/crx/script.js index 5416a406d..7ef82920e 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1,6 +1,6 @@ // Generated by CoffeeScript /* -* appchan x - Version 2.9.2 - 2014-03-10 +* appchan x - Version 2.9.2 - 2014-03-11 * * Licensed under the MIT license. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE @@ -15694,13 +15694,13 @@ if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) { return; } - $('.next button', Index.pagelist).click(); + $('.next button, .next a', Index.pagelist).click(); break; case Conf['Previous page']: if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) { return; } - $('.prev button', Index.pagelist).click(); + $('.prev button, .prev a', Index.pagelist).click(); break; case Conf['Search form']: Index.searchInput.focus(); diff --git a/src/Miscellaneous/Keybinds.coffee b/src/Miscellaneous/Keybinds.coffee index ccf32a3a3..e4e8c073d 100755 --- a/src/Miscellaneous/Keybinds.coffee +++ b/src/Miscellaneous/Keybinds.coffee @@ -98,10 +98,10 @@ Keybinds = $.open "/#{g.BOARD}/" when Conf['Next page'] return unless g.VIEW is 'index' and Conf['Index Mode'] isnt 'all pages' - $('.next button', Index.pagelist).click() + $('.next button, .next a', Index.pagelist).click() when Conf['Previous page'] return unless g.VIEW is 'index' and Conf['Index Mode'] isnt 'all pages' - $('.prev button', Index.pagelist).click() + $('.prev button, .prev a', Index.pagelist).click() when Conf['Search form'] Index.searchInput.focus() when Conf['Paged mode']