Automated merge with ssh://anarayanan@mozilla.com@hg.mozilla.org/labs/weave

This commit is contained in:
Anant Narayanan 2008-06-30 11:33:31 -07:00
Родитель 01c50a1d08 91ca7c32fa
Коммит e1a9e953e7
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -226,12 +226,12 @@ PasswordTracker.prototype = {
_loginCount: 0,
get score() {
var count = this._loginManager.countLogins("", "", "");
var score = Math.abs(this._loginCount - count) * 15;
var score = (Math.abs(this._loginCount - count) * 15) + 30;
if (score >= 100)
return 100;
else
return score + 30;
return score;
},
resetScore: function PasswordTracker_resetScore() {