diff options
Diffstat (limited to 'application/basilisk/base/content/browser-syncui.js')
-rw-r--r-- | application/basilisk/base/content/browser-syncui.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/application/basilisk/base/content/browser-syncui.js b/application/basilisk/base/content/browser-syncui.js index 67056e221..d0f46247a 100644 --- a/application/basilisk/base/content/browser-syncui.js +++ b/application/basilisk/base/content/browser-syncui.js @@ -83,10 +83,7 @@ var gSyncUI = { _wasDelayed: false, _needsSetup: function SUI__needsSetup() { - let firstSync = ""; - try { - firstSync = Services.prefs.getCharPref("services.sync.firstSync"); - } catch (e) { } + let firstSync = Services.prefs.getCharPref("services.sync.firstSync", ""); return Weave.Status.checkSetup() == Weave.CLIENT_NOT_CONFIGURED || firstSync == "notReady"; }, @@ -275,7 +272,6 @@ var gSyncUI = { openPreferences("paneSync"); }, - // Helpers _updateLastSyncTime: function SUI__updateLastSyncTime() { if (!gBrowser) |