# HG changeset patch # User robcast # Date 1090423504 -7200 # Node ID 1760c5dd942484d25ec0cfabadc74cdea6be5f84 # Parent f6d6d145b379df2dfdac813225806402ee5b5af4 *** empty log message *** diff -r f6d6d145b379 -r 1760c5dd9424 client/digitallibrary/baselib.js --- a/client/digitallibrary/baselib.js Tue Jul 20 20:03:11 2004 +0200 +++ b/client/digitallibrary/baselib.js Wed Jul 21 17:25:04 2004 +0200 @@ -19,11 +19,10 @@ Changed for digiLib in Zope by DW 24.03.2004 */ -function getInt (n) { +function getInt(n) { // returns always an integer - n = parseInt (n); - if (isNaN (n)) - return 0; + n = parseInt(n); + if (isNaN(n)) return 0; return n; }