aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorTimo Sand2013-02-19 21:03:04 +0000
committerTimo Sand2014-05-09 10:16:04 +0300
commit6dfe8462690082b0a3c6e4d0d4ee7c56175e3536 (patch)
treed5b4c34275fcfe1ac08b4e43d6d4adcb26051280 /background_scripts
parentc7d70966a862b115fec9eee8a77fb0817e9a85bc (diff)
downloadvimium-6dfe8462690082b0a3c6e4d0d4ee7c56175e3536.tar.bz2
Update background_scripts/main.coffee
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/main.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index 9a1efe11..ab633d8e 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -238,6 +238,7 @@ BackgroundCommands =
chrome.tabs.getSelected(null, (tab) ->
chrome.tabs.remove(tab.id))
restoreTab: (callback) ->
+ # TODO: remove if-else -block when adopted into stable
if chrome.sessionRestore
chrome.sessionRestore.getRecentlyClosed((closed) ->
chrome.sessionRestore.restore(closed[0]))