Code cleaning

This commit is contained in:
varjolintu 2017-04-27 10:20:49 +03:00
parent 4c949c6cbc
commit 2e74725d23

View file

@ -9,7 +9,7 @@ keepass.isKeePassXCAvailable = false;
keepass.isEncryptionKeyUnrecognized = false;
keepass.currentKeePassXC = {"version": 0, "versionParsed": 0};
keepass.latestKeePassXC = (typeof(localStorage.latestKeePassXC) == 'undefined') ? {"version": 0, "versionParsed": 0, "lastChecked": null} : JSON.parse(localStorage.latestKeePassXC);
keepass.requiredKeePassXC = 212;
keepass.requiredKeePassXC = 214;
keepass.nativeHostName = "com.varjolintu.chromekeepassxc";
keepass.nativePort = null;
keepass.keySize = 24;
@ -802,7 +802,6 @@ keepass.getCryptoKey = function() {
}
return key ? [id, key] : null;
//return key ? key : null;
}
keepass.setCryptoKey = function(id, key) {