scroll to top on route
This commit is contained in:
parent
4aad8619c5
commit
81f3367be9
2 changed files with 5 additions and 3 deletions
|
|
@ -70,6 +70,7 @@ mock.window = new function() {
|
|||
this.childNodes.splice(index, 1)
|
||||
child.parentNode = null
|
||||
}
|
||||
window.scrollTo = function() {}
|
||||
window.performance = new function () {
|
||||
var timestamp = 50
|
||||
this.$elapse = function(amount) {timestamp += amount}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue