https://src.bluestatic.org
/
skeletonkey.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdfc2a9
)
Fix the sizing bug by not calling focus explicilty for the extension
author
Robert Sesek <rsesek@bluestatic.org>
Sat, 30 Jun 2012 18:05:55 +0000
(14:05 -0400)
committer
Robert Sesek <rsesek@bluestatic.org>
Sat, 30 Jun 2012 18:05:55 +0000
(14:05 -0400)
core.js
patch
|
blob
|
history
diff --git
a/core.js
b/core.js
index 721cfe51bfbfd2ff9b6bea1bfc507062bd28b346..552b0d1d1547bb5444fef23dde7fe8dbd0893f05 100644
(file)
--- 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();
};
/**