Assign to cached load settings correctly

This commit is contained in:
Nathan Sobo
2015-09-30 13:44:17 -06:00
parent ee270db7ac
commit 4ca09ef7d3

View File

@@ -76,8 +76,7 @@ class Atom extends Model
@getLoadSettings: -> getWindowLoadSettings()
@updateLoadSetting: (key, value) ->
@getLoadSettings()
@loadSettings[key] = value
@getLoadSettings()[key] = value
location.hash = encodeURIComponent(JSON.stringify(@loadSettings))
@getCurrentWindow: ->