Index: chrome/browser/resources/settings/people_page/lock_screen.js |
diff --git a/chrome/browser/resources/settings/people_page/lock_screen.js b/chrome/browser/resources/settings/people_page/lock_screen.js |
index ac2759d7f62ff03a5208d3b0a89c6d2b1d1ef941..f5b62a7980d04b2c8fd21871d1b603a0ba95829a 100644 |
--- a/chrome/browser/resources/settings/people_page/lock_screen.js |
+++ b/chrome/browser/resources/settings/people_page/lock_screen.js |
@@ -176,7 +176,8 @@ Polymer({ |
if (this.shouldAskForPassword_(newRoute)) { |
this.openPasswordPromptDialog_(); |
- } else if (newRoute != settings.Route.FINGERPRINT && |
+ } else if ( |
+ newRoute != settings.Route.FINGERPRINT && |
oldRoute != settings.Route.FINGERPRINT) { |
// If the user navigated away from the lock screen settings page they will |
// have to re-enter their password. An exception is if they are navigating |
@@ -262,8 +263,8 @@ Polymer({ |
/** @private */ |
getDescriptionText_: function() { |
if (this.numFingerprints_ > 0) { |
- return this.i18n('lockScreenNumberFingerprints', |
- this.numFingerprints_.toString()); |
+ return this.i18n( |
+ 'lockScreenNumberFingerprints', this.numFingerprints_.toString()); |
} |
return this.i18n('lockScreenEditFingerprintsDescription'); |