mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-18 01:38:12 +00:00
Sanitize value of SOGoMailAutoSave
This commit is contained in:
1 parent
5c3bff74a0
commit
2fbe721c60
3 files changed
+12
-4
No files matched your search
@@ -384,7 +384,7 @@ function initAddresses() {
|
||||
}
|
||||
|
||||
function initAutoSaveTimer() {
|
||||
var autoSave = UserDefaults["SOGoMailAutoSave"];
|
||||
var autoSave = parseInt(UserDefaults["SOGoMailAutoSave"]) || 5;
|
||||
|
||||
if (autoSave) {
|
||||
var interval;
|
||||
|
||||
Reference in new issue
Block a user