Mercurial > hg > digilib-old
changeset 241:bc30dea2bb2e
*** empty log message ***
author | robcast |
---|---|
date | Wed, 21 Jul 2004 17:25:04 +0200 |
parents | 23ec6d467606 |
children | e2c455c2a0d0 |
files | client/digitallibrary/baselib.js |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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; }