# HG changeset patch # User robcast # Date 1090423504 -7200 # Node ID bc30dea2bb2e9cf17bbebc7db49ac173adb44518 # Parent 23ec6d46760636c7f033fa84f1b3fadbca65c4a4 *** empty log message *** diff -r 23ec6d467606 -r bc30dea2bb2e 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; }