diff options
| author | int3 | 2010-04-03 15:19:15 +0800 |
|---|---|---|
| committer | ilya | 2010-04-10 19:28:36 -0700 |
| commit | eb1ae0badf65aa03b3227562f29b3178fc06d8de (patch) | |
| tree | 7c9b5eed423e1abff0b9760478c79a67f0e80cfd | |
| parent | 27badc60cd7dbb69daa8438d4384f1b1be2731b6 (diff) | |
| download | vimium-eb1ae0badf65aa03b3227562f29b3178fc06d8de.tar.bz2 | |
Indentation
| -rw-r--r-- | background_page.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/background_page.html b/background_page.html index 82ae8c6d..23739081 100644 --- a/background_page.html +++ b/background_page.html @@ -319,17 +319,17 @@ // ensure that openTabs is populated upon the install of the extension chrome.windows.getAll({ populate: true }, function(windows) { - for (var i in windows) { - for (var j in windows[i].tabs) { - var tab = windows[i].tabs[j]; - updateOpenTabs(tab); - getScrollPosition(tab, function(tab, scrollX, scrollY) { - // not using the tab defined in the for loop because - // it might have changed by the time this callback is activated. - updateScrollPosition(tab, scrollX, scrollY); - }); - } + for (var i in windows) { + for (var j in windows[i].tabs) { + var tab = windows[i].tabs[j]; + updateOpenTabs(tab); + getScrollPosition(tab, function(tab, scrollX, scrollY) { + // not using the tab defined in the for loop because + // it might have changed by the time this callback is activated. + updateScrollPosition(tab, scrollX, scrollY); + }); } + } }); chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { |
