mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-29 17:37:54 +01:00
Fixes after merges, prettier globally applied
This commit is contained in:
1 parent
58161ac123
commit
b0cb173830
47 files changed
+2183
-1942
No files matched your search
@@ -280,10 +280,14 @@ function storageChangeHandler(changes, area) {
|
||||
);
|
||||
}
|
||||
if (changes.showTooltipPercentage !== undefined) {
|
||||
handleShowTooltipPercentageChangeEvent(changes.showTooltipPercentage.newValue);
|
||||
handleShowTooltipPercentageChangeEvent(
|
||||
changes.showTooltipPercentage.newValue
|
||||
);
|
||||
}
|
||||
if (changes.numberDisplayReformatLikes !== undefined) {
|
||||
handleNumberDisplayReformatLikesChangeEvent(changes.numberDisplayReformatLikes.newValue);
|
||||
handleNumberDisplayReformatLikesChangeEvent(
|
||||
changes.numberDisplayReformatLikes.newValue
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -302,14 +306,14 @@ function handleNumberDisplayFormatChangeEvent(value) {
|
||||
|
||||
function handleShowTooltipPercentageChangeEvent(value) {
|
||||
extConfig.showTooltipPercentage = value;
|
||||
};
|
||||
}
|
||||
|
||||
function handleTooltipPercentageModeChangeEvent(value) {
|
||||
if (!value) {
|
||||
value = "dash_like";
|
||||
}
|
||||
extConfig.tooltipPercentageMode = value;
|
||||
};
|
||||
}
|
||||
|
||||
function handleNumberDisplayRoundDownChangeEvent(value) {
|
||||
extConfig.numberDisplayRoundDown = value;
|
||||
|
||||
Reference in new issue
Block a user