diff --git a/index.js b/index.js index b054b7e..62e0718 100644 --- a/index.js +++ b/index.js @@ -168,7 +168,7 @@ function appInit (opts) { // enable catching 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