diff --git a/mithril.js b/mithril.js index 28030022..b9c9f123 100644 --- a/mithril.js +++ b/mithril.js @@ -1659,7 +1659,7 @@ var replaceHistory = (arguments.length === 3 ? arg2 : arg1) === true || - oldRoute === root + oldRoute === currentRoute if (global.history.pushState) { var method = replaceHistory ? "replaceState" : "pushState"