Attempting to resolve scroll restoration
This commit is contained in:
@ -47,10 +47,8 @@ console.error = function(message, error){
|
||||
// setup our analytics tracking
|
||||
ReactGA.initialize('UA-64701652-3');
|
||||
function handleUpdate(){
|
||||
ReactGA.set({ page: window.location.hash })
|
||||
ReactGA.pageview(window.location.hash)
|
||||
$(window).scrollTop(0)
|
||||
store.dispatch({type: 'HIDE_CONTEXT_MENU'})
|
||||
ReactGA.set({ page: window.location.hash });
|
||||
ReactGA.pageview(window.location.hash);
|
||||
}
|
||||
|
||||
global.baseURL = '/'
|
||||
|
||||
Reference in New Issue
Block a user