History

Fix app.Settings#applyLegacyValues when value is false

Thibaut committed 11 years ago

Commit 20940d71 parent b8040a11 file · +1 −1Browse files

Showing the changes to assets/javascripts (1 of 1 file). Show all

Unified · Split

assets/javascripts/app/settings.coffee+1−1
@@ -19,7 +19,7 @@ class app.Settings · 18 unmodified lines
1919 return
2020
2121 applyLegacyValues: (settings) ->
22− for key, v of settings when value = @store.get(key)
22+ for key, v of settings when (value = @store.get(key))?
2323 settings[key] = value
2424 @store.del(key)
2525 return

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t