diff --git a/middlewares/ref.js b/middlewares/ref.js index d23ba8f..864a25d 100644 --- a/middlewares/ref.js +++ b/middlewares/ref.js @@ -69,7 +69,7 @@ function $route (path, params, options) { route = relativeToAbsoluteRoute(this, route) } updateHistory(route, params, options) - window.scrollTo(0, 0) + window.scroll(0, 0) } function relativeToAbsoluteRoute (node, relativeRoute) { diff --git a/package.json b/package.json index 0711d18..028744d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@risingstack/nx-framework", - "version": "1.0.0-alpha.2.3.0", + "version": "1.0.0-alpha.2.3.1", "description": "Next generation client side framework", "main": "index.js", "author": {