From eae9b4d356a3680991ccf85302b55892de03cb76 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 30 Jun 2012 14:05:55 -0400 Subject: [PATCH] Fix the sizing bug by not calling focus explicilty for the extension --- core.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core.js b/core.js index 721cfe5..552b0d1 100644 --- a/core.js +++ b/core.js @@ -80,7 +80,10 @@ SkeletonKey.prototype._init = function() { this._initChromeExtension(); - this._master.focus(); + // Chrome extensions will get the first field focused automatically, so only + // do it explicitly for hosted pages. + if (!this._isChromeExtension()) + this._master.focus(); }; /** -- 2.22.5