• Robert Knight's avatar
    Remove initial redirect when sidebar loads · 1c933e5a
    Robert Knight authored
    Avoid redirecting to '/viewer' when the sidebar loads.
    
    This redirect is unnecessary since the sidebar never changes its mode
    once loaded and it caused the viewer embedded on a page to fail to load
    when restoring a closed tab in Chrome.
    
    This may also resolve issues where the user agent disallows the
    'replaceState' call in certain situations (search prod-client reports on
    Sentry for "replaceState")
    
    Fixes #178
    1c933e5a
app.js 7.42 KB