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