summaryrefslogtreecommitdiffstats
path: root/application/palemoon
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-04-21 12:59:20 -0400
committerMatt A. Tobin <email@mattatobin.com>2019-04-21 12:59:20 -0400
commit5d02c22076b3c1350fd46b3596a839fa915033a2 (patch)
tree7eb897a3c4b3cd7f7821f073da318c0d9161d9b4 /application/palemoon
parentbca1943ca7bc8282cbf83be4898ab1d7e9e5355f (diff)
downloadUXP-5d02c22076b3c1350fd46b3596a839fa915033a2.tar
UXP-5d02c22076b3c1350fd46b3596a839fa915033a2.tar.gz
UXP-5d02c22076b3c1350fd46b3596a839fa915033a2.tar.lz
UXP-5d02c22076b3c1350fd46b3596a839fa915033a2.tar.xz
UXP-5d02c22076b3c1350fd46b3596a839fa915033a2.zip
[PHOENIX] Fix missing default from lastSync in browser-syncui.js in Pale Moon and replace the tryblock in Basilisk
Diffstat (limited to 'application/palemoon')
-rw-r--r--application/palemoon/base/content/browser-syncui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/base/content/browser-syncui.js b/application/palemoon/base/content/browser-syncui.js
index 6fad03cdd..b9a3db2eb 100644
--- a/application/palemoon/base/content/browser-syncui.js
+++ b/application/palemoon/base/content/browser-syncui.js
@@ -282,7 +282,7 @@ var gSyncUI = {
if (!syncButton)
return;
- let lastSync = Services.prefs.getCharPref("services.sync.lastSync");
+ let lastSync = Services.prefs.getCharPref("services.sync.lastSync", "");
if (!lastSync || this._needsSetup()) {
syncButton.removeAttribute("tooltiptext");
return;