diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-03-15 10:51:12 -0400 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-03-15 10:51:12 -0400 |
commit | a0ca379cfddde5b88007211d6f6ebdf9748f7409 (patch) | |
tree | 04ebcdf1d58069fe2c7d7c9e480ecbf3ad9d0afb /common/content/tabs.js | |
parent | efcf07c68b02bdb060eea3a232234d42fefaa63d (diff) | |
download | pentadactyl-a0ca379cfddde5b88007211d6f6ebdf9748f7409.tar.gz |
Work around inane bug in Google's Page Speed extension. Closes issue #438.
Diffstat (limited to 'common/content/tabs.js')
-rw-r--r-- | common/content/tabs.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/content/tabs.js b/common/content/tabs.js index dec2dcca..efb44b43 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -103,7 +103,8 @@ var Tabs = Module("tabs", { get browsers() { let browsers = config.tabbrowser.browsers; for (let i = 0; i < browsers.length; i++) - yield [i, browsers[i]]; + if (browsers[i] !== undefined) // Bug in Google's Page Speed add-on. + yield [i, browsers[i]]; }, /** |