(#7249)- fix example in 2018-01-23-pouchdb-6.4.2.md
The new instance should use the new opts to make it work ;)
diff --git a/docs/_posts/2018-01-23-pouchdb-6.4.2.md b/docs/_posts/2018-01-23-pouchdb-6.4.2.md
index 5c7100d..be58534 100644
--- a/docs/_posts/2018-01-23-pouchdb-6.4.2.md
+++ b/docs/_posts/2018-01-23-pouchdb-6.4.2.md
@@ -34,7 +34,7 @@
var newopts = opts || {};
newopts.adapter = 'idb';
- var newdb = new PouchDB(name, opts);
+ var newdb = new PouchDB(name, newopts);
var replicate = localdb.replicate.to(newdb);
replicate.then(function() {
resolve(newdb);