mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-19 18:18:12 +00:00
Fix JavaScript warning on undefined variable
This commit is contained in:
1 parent
6cc8f17c86
commit
460ed2e7bc
1 file changed
+1
-1
@@ -1629,7 +1629,7 @@ function onContactsReload () {
|
||||
}
|
||||
|
||||
function initRefreshViewCheckTimer() {
|
||||
var refreshViewCheck = UserDefaults["SOGoRefreshViewCheck"];
|
||||
var refreshViewCheck = typeof UserDefaults == 'undefined' ? false : UserDefaults["SOGoRefreshViewCheck"];
|
||||
if (refreshViewCheck && refreshViewCheck != "manually") {
|
||||
var interval;
|
||||
if (refreshViewCheck == "once_per_hour")
|
||||
|
||||
Reference in new issue
Block a user