Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/prefs.js

Issue 29350042: Issue 4023 - Move storage of subscription lists to localStorage (Closed)
Patch Set: Created Aug. 22, 2016, 9:24 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/prefs.js
===================================================================
--- a/lib/prefs.js
+++ b/lib/prefs.js
@@ -254,7 +254,10 @@
else
{
overrides[pref] = value;
- ext.storage.set(prefToKey(pref), value);
+
+ let items = {};
+ items[prefToKey(pref)] = value;
+ ext.storage.set(items);
kzar 2016/08/22 15:38:32 I wonder if Edge supports (and JS Hydra doesn't me
Oleksandr 2016/08/25 02:02:38 JS Hydra does not let this through.
}
},
enumerable: true

Powered by Google App Engine
This is Rietveld