1
0
mirror of https://github.com/MatMoul/quickdial-webext.git synced 2024-12-23 15:36:12 +00:00

Bug: Data not correclty upgraded

This commit is contained in:
MatMoul 2017-11-11 15:34:34 +01:00
parent accb853a85
commit e300ae2142

View File

@ -208,7 +208,7 @@ app.Settings.update = function(settings, callback){ // Save new settings
app.Settings.save(callback);
};
app.Settings.save = function(callback){ // Save settings
var data = { version: 3 };
var data = { version: 4 };
data.settings = app.settings;
data.node = app.node;
browser.storage.local.set(data).then(function(){