| commit | e840e0bb8ed587494aef83e35a032a29ce2b2286 | [log] [tgz] |
|---|---|---|
| author | j <[email protected]> | Mon Jun 24 15:13:16 2019 -0700 |
| committer | GitHub <[email protected]> | Mon Jun 24 15:13:16 2019 -0700 |
| tree | fc3af39f40fa41f4d4acdbfdbd75acddd21a4b14 | |
| parent | e46ffdab5486fb2770d8ba3dfd9d816848a75eb0 [diff] |
Update fluid.js
diff --git a/fluid.js b/fluid.js index 0498dca..179a946 100644 --- a/fluid.js +++ b/fluid.js
@@ -206,12 +206,7 @@ } if (trigger == undefined) window.localStorage.setItem(key, val); if (trigger !== "load") { - new CustomEvent( - key, - { - detail: val - } - ); + new CustomEvent(key, { detail: val }); } } else { console.error("Error: Calling fluid.set with invalid prefrence name. Make sure the name of your prefrence starts with 'pref-'. See https://fluid.js.org/#input-prefs.")