Use opts.href instead of opts.history
Per [documentation](https://github.com/yoshuawuyts/choo#tree--appstartopts)
This commit is contained in:
@@ -168,7 +168,7 @@ function appInit (opts) {
|
||||
|
||||
// enable catching <href a=""></href> links
|
||||
// enable HTML5 history API
|
||||
if (opts.history !== false) pushLocationSub(href)
|
||||
if (opts.href !== false) pushLocationSub(href)
|
||||
if (opts.history !== false) pushLocationSub(history)
|
||||
|
||||
return model
|
||||
|
||||
Reference in New Issue
Block a user