diff options
| author | Jez Ng | 2012-08-19 00:06:40 -0700 |
|---|---|---|
| committer | Jez Ng | 2012-08-19 00:07:18 -0700 |
| commit | 8b7b779717a1984eaba3c250acfad6ac3c592423 (patch) | |
| tree | 72b881f1afd2f1a3af25a29727a4447e569f3b79 | |
| parent | c21b62e9d1645dc09af7e8a57761e57e3bb7c49d (diff) | |
| download | vimium-8b7b779717a1984eaba3c250acfad6ac3c592423.tar.bz2 | |
Tabs -> spaces.
| -rw-r--r-- | background_scripts/main.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/background_scripts/main.js b/background_scripts/main.js index 41fb3441..287af48e 100644 --- a/background_scripts/main.js +++ b/background_scripts/main.js @@ -765,13 +765,13 @@ function init() { for (var j in windows[i].tabs) { var tab = windows[i].tabs[j]; updateOpenTabs(tab); - chrome.tabs.sendRequest(tab.id, { name: "getScrollPosition" }, function() { - return function(response) { - if (response === undefined) - return; - updateScrollPosition(tab, response.scrollX, response.scrollY); - }; - }()); + chrome.tabs.sendRequest(tab.id, { name: "getScrollPosition" }, function() { + return function(response) { + if (response === undefined) + return; + updateScrollPosition(tab, response.scrollX, response.scrollY); + }; + }()); } } }); |
