mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Assign to cached load settings correctly
This commit is contained in:
@@ -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: ->
|
||||
|
||||
Reference in New Issue
Block a user