parent
afa130030e
commit
cab476ac32
@ -1,5 +1,6 @@ |
|||||||
const refresh = require('./refresh'); |
const refresh = require('./refresh'); |
||||||
|
|
||||||
module.exports = (newPath, customOptions) => { |
module.exports = (newPath, customOptions) => { |
||||||
|
window.kade.currentScroll = window.scrollY; |
||||||
return refresh(newPath || window.kade.cpath, customOptions || {animate: false, resetNav: false, scroll: false}); |
return refresh(newPath || window.kade.cpath, customOptions || {animate: false, resetNav: false, scroll: false}); |
||||||
}; |
}; |
Loading…
Reference in new issue