mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-02 10:52:20 +01:00
Merge issues fixed, core reformatted with prettier
This commit is contained in:
1 parent
6894a706aa
commit
b7029ce426
14 files changed
+315
-275
No files matched your search
@@ -111,20 +111,17 @@ function storageChangeHandler(changes, area) {
|
||||
handleDisableVoteSubmissionChangeEvent(
|
||||
changes.disableVoteSubmission.newValue
|
||||
);
|
||||
}
|
||||
if (changes.coloredThumbs !== undefined) {
|
||||
handleColoredThumbsChangeEvent(
|
||||
changes.coloredThumbs.newValue
|
||||
);
|
||||
handleColoredThumbsChangeEvent(changes.coloredThumbs.newValue);
|
||||
}
|
||||
if (changes.coloredBar !== undefined) {
|
||||
handleColoredBarChangeEvent(
|
||||
changes.coloredBar.newValue
|
||||
);
|
||||
handleColoredBarChangeEvent(changes.coloredBar.newValue);
|
||||
}
|
||||
if (changes.colorTheme !== undefined) {
|
||||
handleColorThemeChangeEvent(
|
||||
changes.colorTheme.newValue
|
||||
);
|
||||
handleColorThemeChangeEvent(changes.colorTheme.newValue);
|
||||
}
|
||||
|
||||
if (changes.numberDisplayRoundDown !== undefined) {
|
||||
handleNumberDisplayRoundDownChangeEvent(
|
||||
changes.numberDisplayRoundDown.newValue
|
||||
@@ -139,7 +136,6 @@ function handleDisableVoteSubmissionChangeEvent(value) {
|
||||
extConfig.disableVoteSubmission = value;
|
||||
}
|
||||
|
||||
|
||||
function handleColoredThumbsChangeEvent(value) {
|
||||
extConfig.coloredThumbs = value;
|
||||
}
|
||||
@@ -151,7 +147,7 @@ function handleColoredBarChangeEvent(value) {
|
||||
function handleColorThemeChangeEvent(value) {
|
||||
extConfig.colorTheme = value;
|
||||
}
|
||||
|
||||
|
||||
function handleNumberDisplayFormatChangeEvent(value) {
|
||||
extConfig.numberDisplayFormat = value;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user