diff --git a/js/lib/ObjectCopy.js b/js/lib/ObjectCopy.js index 43242da..14f0c61 100644 --- a/js/lib/ObjectCopy.js +++ b/js/lib/ObjectCopy.js @@ -32,6 +32,16 @@ class ObjectCopy { } } } + + // add the values that would otherwise be deleted back to our object. (We need that so user-defined + // sites don't get forgotten) + for(var k in existing) { + if (! out[k]) { + out[k] = existing[k]; + } + } + + return out; } static pruneUnused(existing, target, ignoreKeys) { diff --git a/manifest.json b/manifest.json index 0a10bea..39d9872 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Ultrawidify", - "version": "3.2.0-a2", + "version": "3.2.0-a3", "applications": { "gecko": { "id": "{cf02b1a7-a01a-4e37-a609-516a283f1ed3}"