Select the password when clicking into that field
authorRobert Sesek <rsesek@google.com>
Sat, 9 Jun 2012 22:02:55 +0000 (18:02 -0400)
committerRobert Sesek <rsesek@google.com>
Sat, 9 Jun 2012 22:02:55 +0000 (18:02 -0400)
core.js

diff --git a/core.js b/core.js
index b1c96f90d8481a9315fc68c82c498086025c8658..6b8ca1c8685a0a4fc3a6108b44605453164c6e53 100644 (file)
--- a/core.js
+++ b/core.js
@@ -69,6 +69,7 @@ SkeletonKey.prototype.MIN_LENGTH = 6;
 SkeletonKey.prototype._init = function() {
   this._generateButton.onclick = this._onGenerate.bind(this);
 
+  this._password.onclick = this._selectPassword.bind(this);
   this._password.labels[0].onclick = this._selectPassword.bind(this);
 
   this._initChromeExtension();