diff --git a/js/ui/components/keyring.js b/js/ui/components/keyring.js index 8623f2fdd..cd7a81e95 100644 --- a/js/ui/components/keyring.js +++ b/js/ui/components/keyring.js @@ -76,7 +76,7 @@ class KeyringDialog extends ModalDialog.ModalDialog { warning.opacity = this.prompt.warning_visible ? 255 : 0; }); this.prompt.connect('notify::warning', () => { - if (this._passwordEntry && warning !== '') + if (this._passwordEntry && this.prompt.warning !== '') Util.wiggle(this._passwordEntry); }); warningBox.add_child(warning);