jquery.isNumeric() requires a jquery 1.7, backport the isNumeric() check to support...
[mkws-moved-to-github.git] / tools / htdocs / mkws.js
index e3ca0e1..2c9b89f 100644 (file)
@@ -258,7 +258,7 @@ var SourceMax = 16;
 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);
 }