projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jquery.isNumeric() requires a jquery 1.7, backport the isNumeric() check to support...
[mkws-moved-to-github.git]
/
tools
/
htdocs
/
mkws.js
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
e3ca0e1
..
2c9b89f
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-258,7
+258,7
@@
var SourceMax = 16;
var SubjectMax = 10;
var AuthorMax = 10;
var SubjectMax = 10;
var AuthorMax = 10;
-if ($.isNumeric(mkws_config.perpage_default)) {
+if (!isNaN(parseInt(mkws_config.perpage_default))) {
recPerPage = parseInt(mkws_config.perpage_default);
}
recPerPage = parseInt(mkws_config.perpage_default);
}