From bc7858956779836009a394ca1fa419394bf15a3a Mon Sep 17 00:00:00 2001 From: Tim Wisniewski Date: Mon, 23 May 2016 07:35:24 -0400 Subject: [PATCH] Use opts.href instead of opts.history Per [documentation](https://github.com/yoshuawuyts/choo#tree--appstartopts) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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