Merge pull request #12 from timwis/patch-1
Use opts.href instead of opts.history
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user