[gnome-shell/uajain/adapt-user-avatar-part2: 13/22] authPrompt: Trivial style cleanup
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/uajain/adapt-user-avatar-part2: 13/22] authPrompt: Trivial style cleanup
- Date: Wed, 12 Feb 2020 19:29:21 +0000 (UTC)
commit 15beabc3e9dbc769cce3e909cd1d4f055a8b92c2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Feb 6 17:20:48 2020 -0300
authPrompt: Trivial style cleanup
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922
js/gdm/authPrompt.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js
index 82852207ef..1a36b994e2 100644
--- a/js/gdm/authPrompt.js
+++ b/js/gdm/authPrompt.js
@@ -181,10 +181,10 @@ var AuthPrompt = GObject.registerClass({
}
_updateEntry(secret) {
- if (secret && (this._entry != this._passwordEntry)) {
+ if (secret && this._entry !== this._passwordEntry) {
this._mainBox.replace_child(this._entry, this._passwordEntry);
this._entry = this._passwordEntry;
- } else if (!secret && (this._entry != this._textEntry)) {
+ } else if (!secret && this._entry !== this._textEntry) {
this._mainBox.replace_child(this._entry, this._textEntry);
this._entry = this._textEntry;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]