summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyuzakiKK <aasonykk@gmail.com>2018-12-07 10:51:39 +0100
committerCarlos Garnacho <mrgarnacho@gmail.com>2018-12-07 11:19:57 +0000
commit616852cf2b1f235a5671013fbf3f1564be79ea1b (patch)
tree9d39d029e8b75d50d0b20179e7a8ad5d32b2f737
parente5ce3d541e48dd75c9218312cd74ecb760ab857a (diff)
downloadgnome-shell-616852cf2b1f235a5671013fbf3f1564be79ea1b.tar.gz
thunderbolt: fix missing variable underscore for `enrolling`
The variable `this.enrolling` is a typo because it has not been defined before and is also never used. `this._enrolling` is what it was meant to be.
-rw-r--r--js/ui/status/thunderbolt.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/ui/status/thunderbolt.js b/js/ui/status/thunderbolt.js
index 4584748ed..3d7a9614a 100644
--- a/js/ui/status/thunderbolt.js
+++ b/js/ui/status/thunderbolt.js
@@ -195,7 +195,7 @@ var AuthRobot = new Lang.Class({
if (this._enrolling)
return;
- this.enrolling = true;
+ this._enrolling = true;
GLib.idle_add(GLib.PRIORITY_DEFAULT,
this._enrollDevicesIdle.bind(this));
},