diff --git a/renderer/index.js b/renderer/index.js index fa6ce6f4..06372b7d 100644 --- a/renderer/index.js +++ b/renderer/index.js @@ -43,6 +43,9 @@ var Cast = null // For easy debugging in Developer Tools var state = global.state = State.getInitialState() +// Push the first page into the location history +state.location.go({ url: 'home' }) + var vdomLoop // All state lives in state.js. `state.saved` is read from and written to a file. @@ -58,9 +61,6 @@ function init () { // Clean up the freshly-loaded config file, which may be from an older version cleanUpConfig() - // Push the first page into the location history - state.location.go({ url: 'home' }) - // Restart everything we were torrenting last time the app ran resumeTorrents()