mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-29 09:27:54 +01:00
Display 'temporarily unavailable' when the API can't be reached
This commit is contained in:
1 parent
2e6ed5298b
commit
1d2f89a38c
4 files changed
+24
-1
No files matched your search
@@ -29,6 +29,10 @@ function numberFormat(numberState) {
|
||||
);
|
||||
}
|
||||
|
||||
function localize(localeString) {
|
||||
return chrome.i18n.getMessage(localeString);
|
||||
}
|
||||
|
||||
function getNumberFormatter(optionSelect) {
|
||||
let formatterNotation;
|
||||
let formatterCompactDisplay;
|
||||
@@ -151,4 +155,5 @@ export {
|
||||
isVideoLoaded,
|
||||
cLog,
|
||||
getColorFromTheme,
|
||||
localize,
|
||||
};
|
||||
Reference in new issue
Block a user