Clear old settings before importing.
This commit is contained in:
parent
810cd20647
commit
b0ce4d00c2
@ -244,7 +244,7 @@ Settings =
|
||||
if data.Conf['WatchedThreads']
|
||||
data.Conf['watchedThreads'] = boards: ThreadWatcher.convert data.Conf['WatchedThreads']
|
||||
delete data.Conf['WatchedThreads']
|
||||
$.set data.Conf
|
||||
$.clear -> $.set data.Conf
|
||||
reset: ->
|
||||
if confirm 'Your current settings will be entirely wiped, are you sure?'
|
||||
$.clear -> window.location.reload() if confirm 'Reset successful. Reload now?'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user