1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-29 10:39:19 +02:00

Merge remote-tracking branch 'cyberalien/ticket/11555' into develop

* cyberalien/ticket/11555:
  [ticket/11555] Fix page comparison
This commit is contained in:
Andreas Fischer 2013-05-19 13:50:51 +02:00
commit a70eedecde

View File

@ -20,7 +20,7 @@ function popup(url, width, height, name) {
function jumpto() {
var page = prompt(jump_page, on_page);
if (page !== null && !isNaN(page) && page === Math.floor(page) && page > 0) {
if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0) {
if (base_url.indexOf('?') === -1) {
document.location.href = base_url + '?start=' + ((page - 1) * per_page);
} else {