made sure config is not a reference to default config

This commit is contained in:
Jack 2020-07-13 22:37:47 +01:00
parent 5bf4b22a87
commit 6ec1738cb1

View file

@ -42,7 +42,9 @@ let defaultConfig = {
let cookieConfig = null;
let config = defaultConfig;
let config = {
...defaultConfig,
};
//cookies
function saveConfigToCookie() {