Merge pull request #518 from feross/osx-magnet-exception
OS X: Fix magnet links throwing exception on launch
This commit is contained in:
commit
f4eab12c3f
1 changed files with 3 additions and 3 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue