mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-15 18:28:51 +00:00
Sanitize value of SOGoMailAutoSave
This commit is contained in:
@@ -384,7 +384,7 @@ function initAddresses() {
|
||||
}
|
||||
|
||||
function initAutoSaveTimer() {
|
||||
var autoSave = parseInt(UserDefaults["SOGoMailAutoSave"]) || 5;
|
||||
var autoSave = Math.abs(parseInt(UserDefaults["SOGoMailAutoSave"])) || 5;
|
||||
|
||||
if (autoSave) {
|
||||
var interval;
|
||||
|
||||
Reference in New Issue
Block a user