@@ -14,7 +14,7 @@ function StorageHandler(updateFiles) {
...
@@ -14,7 +14,7 @@ function StorageHandler(updateFiles) {
functioncheck(key){
functioncheck(key){
chrome.storage.sync.get(key,function(resp){
chrome.storage.sync.get(key,function(resp){
console.log("comparing to cloud",key,resp);
console.log("comparing to cloud",key,resp);
if(typeofresp[key]!='undefined'&&obj[key]!==resp[key]&&confirm("Overwrite '"+fileNameFromKey(key)+"'? Click Ok to overwrite local file with file from cloud. Cancel will push your local file to the cloud.")){
if(typeofresp[key]!=='undefined'&&obj[key]!==resp[key]&&confirm("Overwrite '"+fileNameFromKey(key)+"'? Click Ok to overwrite local file with file from cloud. Cancel will push your local file to the cloud.")){