diff --git a/suite/common/pref/nsPrefWindow.js b/suite/common/pref/nsPrefWindow.js index 18b3f364aecc..c89d770070dc 100644 --- a/suite/common/pref/nsPrefWindow.js +++ b/suite/common/pref/nsPrefWindow.js @@ -242,7 +242,7 @@ nsPrefWindow.prototype = value = !value; break; case "int": - value = parseInt(value); + value = parseInt(value, 10); break; case "color": if( toString(value) == "" )