Importing fixes
This commit is contained in:
parent
70459850c1
commit
ccc090e20c
@ -1,6 +1,7 @@
|
||||
seaweedchan:
|
||||
- Fix emoji and favicon previews not updating on change.
|
||||
- Fix issue with draggong thread watcher
|
||||
- Fix some settings not importing when coming from Mayhem's v3
|
||||
|
||||
MayhemYDG:
|
||||
- Fix bug where a thread would freeze on load.
|
||||
|
||||
@ -9298,6 +9298,13 @@
|
||||
});
|
||||
}
|
||||
data.Conf.WatchedThreads = data.WatchedThreads;
|
||||
} else if (version[0] === '3') {
|
||||
data = Settings.convertSettings(data, {
|
||||
'Reply Hiding': 'Reply Hiding Buttons',
|
||||
'Thread Hiding': 'Thread Hiding Buttons',
|
||||
'Bottom header': 'Bottom Header',
|
||||
'Unread Tab Icon': 'Unread Favicon'
|
||||
});
|
||||
}
|
||||
return $.set(data.Conf);
|
||||
},
|
||||
|
||||
@ -9321,6 +9321,13 @@
|
||||
});
|
||||
}
|
||||
data.Conf.WatchedThreads = data.WatchedThreads;
|
||||
} else if (version[0] === '3') {
|
||||
data = Settings.convertSettings(data, {
|
||||
'Reply Hiding': 'Reply Hiding Buttons',
|
||||
'Thread Hiding': 'Thread Hiding Buttons',
|
||||
'Bottom header': 'Bottom Header',
|
||||
'Unread Tab Icon': 'Unread Favicon'
|
||||
});
|
||||
}
|
||||
return $.set(data.Conf);
|
||||
},
|
||||
|
||||
@ -9302,6 +9302,13 @@
|
||||
});
|
||||
}
|
||||
data.Conf.WatchedThreads = data.WatchedThreads;
|
||||
} else if (version[0] === '3') {
|
||||
data = Settings.convertSettings(data, {
|
||||
'Reply Hiding': 'Reply Hiding Buttons',
|
||||
'Thread Hiding': 'Thread Hiding Buttons',
|
||||
'Bottom header': 'Bottom Header',
|
||||
'Unread Tab Icon': 'Unread Favicon'
|
||||
});
|
||||
}
|
||||
return $.set(data.Conf);
|
||||
},
|
||||
|
||||
@ -282,6 +282,12 @@ Settings =
|
||||
data.Conf[key] = data.Conf[key].replace(/ctrl|alt|meta/g, (s) -> "#{s[0].toUpperCase()}#{s[1..]}").replace /(^|.+\+)[A-Z]$/g, (s) ->
|
||||
"Shift+#{s[0...-1]}#{s[-1..].toLowerCase()}"
|
||||
data.Conf.WatchedThreads = data.WatchedThreads
|
||||
else if version[0] is '3'
|
||||
data = Settings.convertSettings data,
|
||||
'Reply Hiding': 'Reply Hiding Buttons'
|
||||
'Thread Hiding': 'Thread Hiding Buttons'
|
||||
'Bottom header': 'Bottom Header'
|
||||
'Unread Tab Icon': 'Unread Favicon'
|
||||
$.set data.Conf
|
||||
convertSettings: (data, map) ->
|
||||
for prevKey, newKey of map
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user