mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Merge pull request #3714 from marc1706/ticket/13951
[ticket/13951] Make sure the page number is an integer
This commit is contained in:
commit
7b93df1522
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ function popup(url, width, height, name) {
|
||||||
function pageJump(item) {
|
function pageJump(item) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var page = item.val(),
|
var page = parseInt(item.val(), 10),
|
||||||
perPage = item.attr('data-per-page'),
|
perPage = item.attr('data-per-page'),
|
||||||
baseUrl = item.attr('data-base-url'),
|
baseUrl = item.attr('data-base-url'),
|
||||||
startName = item.attr('data-start-name');
|
startName = item.attr('data-start-name');
|
||||||
|
|
Loading…
Add table
Reference in a new issue