diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-08-30 18:00:39 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-08-30 18:00:39 +0000 |
| commit | 259c6dc0df4b753c93c56a4ad6f3ef705cdbf59d (patch) | |
| tree | a0058358785b7dbbb666afc4ed4a381f69a4f235 | |
| parent | 8356378bc5b109146fbaf5006a97e3bf597092bc (diff) | |
- Small improvement
git-svn-id: https://svn.roundcube.net/trunk@3927 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/js/app.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 48e05f44f..52bf4f67a 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -1782,11 +1782,11 @@ function rcube_webmail() { if (page == 'next') page = this.env.current_page+1; - if (page == 'last') + else if (page == 'last') page = this.env.pagecount; - if (page == 'prev' && this.env.current_page > 1) + else if (page == 'prev' && this.env.current_page > 1) page = this.env.current_page-1; - if (page == 'first' && this.env.current_page > 1) + else if (page == 'first' && this.env.current_page > 1) page = 1; if (page > 0 && page <= this.env.pagecount) { |
