Clear old settings before importing.

This commit is contained in:
ccd0 2014-12-20 18:59:58 -08:00
parent 810cd20647
commit b0ce4d00c2

View File

@ -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?'