Merge pull request #12 from timwis/patch-1

Use opts.href instead of opts.history
This commit is contained in:
Yoshua Wuyts
2016-05-23 21:18:51 +09:00
+1 -1
View File
@@ -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