aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
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]))