diff options
Diffstat (limited to 'application/basilisk/base/content/sync/aboutSyncTabs.js')
-rw-r--r-- | application/basilisk/base/content/sync/aboutSyncTabs.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/application/basilisk/base/content/sync/aboutSyncTabs.js b/application/basilisk/base/content/sync/aboutSyncTabs.js index f4bb607ea..69ec71e55 100644 --- a/application/basilisk/base/content/sync/aboutSyncTabs.js +++ b/application/basilisk/base/content/sync/aboutSyncTabs.js @@ -306,13 +306,7 @@ var RemoteTabViewer = { _refetchTabs: function (force) { if (!force) { // Don't bother refetching tabs if we already did so recently - let lastFetch = 0; - try { - lastFetch = Services.prefs.getIntPref("services.sync.lastTabFetch"); - } - catch (e) { - /* Just use the default value of 0 */ - } + lastFetch = Services.prefs.getIntPref("services.sync.lastTabFetch", 0); let now = Math.floor(Date.now() / 1000); if (now - lastFetch < 30) { |