This commit is contained in:
Zixaphir 2014-03-11 11:23:54 -07:00
parent a24608999a
commit 37f44f71e2
4 changed files with 9 additions and 9 deletions

View File

@ -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. * Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE * https://github.com/zixaphir/appchan-x/blob/master/LICENSE

View File

@ -25,7 +25,7 @@
// ==/UserScript== // ==/UserScript==
/* /*
* appchan x - Version 2.9.2 - 2014-03-10 * appchan x - Version 2.9.2 - 2014-03-11
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE * https://github.com/zixaphir/appchan-x/blob/master/LICENSE
@ -15675,13 +15675,13 @@
if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) { if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) {
return; return;
} }
$('.next button', Index.pagelist).click(); $('.next button, .next a', Index.pagelist).click();
break; break;
case Conf['Previous page']: case Conf['Previous page']:
if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) { if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) {
return; return;
} }
$('.prev button', Index.pagelist).click(); $('.prev button, .prev a', Index.pagelist).click();
break; break;
case Conf['Search form']: case Conf['Search form']:
Index.searchInput.focus(); Index.searchInput.focus();

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript // 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. * Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE * https://github.com/zixaphir/appchan-x/blob/master/LICENSE
@ -15694,13 +15694,13 @@
if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) { if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) {
return; return;
} }
$('.next button', Index.pagelist).click(); $('.next button, .next a', Index.pagelist).click();
break; break;
case Conf['Previous page']: case Conf['Previous page']:
if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) { if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) {
return; return;
} }
$('.prev button', Index.pagelist).click(); $('.prev button, .prev a', Index.pagelist).click();
break; break;
case Conf['Search form']: case Conf['Search form']:
Index.searchInput.focus(); Index.searchInput.focus();

View File

@ -98,10 +98,10 @@ Keybinds =
$.open "/#{g.BOARD}/" $.open "/#{g.BOARD}/"
when Conf['Next page'] when Conf['Next page']
return unless g.VIEW is 'index' and Conf['Index Mode'] isnt 'all pages' 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'] when Conf['Previous page']
return unless g.VIEW is 'index' and Conf['Index Mode'] isnt 'all pages' 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'] when Conf['Search form']
Index.searchInput.focus() Index.searchInput.focus()
when Conf['Paged mode'] when Conf['Paged mode']