Store load settings in URL fragment, not query string

This commit is contained in:
Max Brunsfeld
2015-03-04 16:03:00 -08:00
parent 8796c284be
commit 9bb4968e6f
3 changed files with 3 additions and 4 deletions

View File

@@ -118,7 +118,7 @@ class Atom extends Model
# Returns the load settings hash associated with the current window.
@getLoadSettings: ->
@loadSettings ?= JSON.parse(decodeURIComponent(location.search.substr(14)))
@loadSettings ?= JSON.parse(decodeURIComponent(location.hash.substr(1)))
cloned = _.deepClone(@loadSettings)
# The loadSettings.windowState could be large, request it only when needed.
cloned.__defineGetter__ 'windowState', =>