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
19 return19 return
20 20
21 applyLegacyValues: (settings) ->21 applyLegacyValues: (settings) ->
22 for key, v of settings when value = @store.get(key)22 for key, v of settings when (value = @store.get(key))?
23 settings[key] = value23 settings[key] = value
24 @store.del(key)24 @store.del(key)
25 return25 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