Commit 50fcefdf authored by Tim Neutkens's avatar Tim Neutkens Committed by Arunoda Susiripala

Return true instead of void (#3869)

parent 99fb1912
...@@ -135,7 +135,7 @@ export default class Router { ...@@ -135,7 +135,7 @@ export default class Router {
if (this.onlyAHashChange(as)) { if (this.onlyAHashChange(as)) {
this.changeState(method, url, as) this.changeState(method, url, as)
this.scrollToHash(as) this.scrollToHash(as)
return return true
} }
const { pathname, query } = parse(url, true) const { pathname, query } = parse(url, true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment