Use opts.href instead of opts.history

Per [documentation](https://github.com/yoshuawuyts/choo#tree--appstartopts)
This commit is contained in:
Tim Wisniewski
2016-05-23 07:35:24 -04:00
parent b11ffa76ce
commit bc78589567
+1 -1
View File
@@ -168,7 +168,7 @@ function appInit (opts) {
// enable catching <href a=""></href> links // enable catching <href a=""></href> links
// enable HTML5 history API // enable HTML5 history API
if (opts.history !== false) pushLocationSub(href) if (opts.href !== false) pushLocationSub(href)
if (opts.history !== false) pushLocationSub(history) if (opts.history !== false) pushLocationSub(history)
return model return model