summaryrefslogtreecommitdiffstats
path: root/ui/src/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/utils.ts')
-rw-r--r--ui/src/utils.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/src/utils.ts b/ui/src/utils.ts
index 3bad5040..81bb0147 100644
--- a/ui/src/utils.ts
+++ b/ui/src/utils.ts
@@ -501,7 +501,7 @@ export function messageToastify(
text: `${body}<br />${creator}`,
avatar: avatar,
backgroundColor: backgroundColor,
- className: 'text-body',
+ className: 'text-dark',
close: true,
gravity: 'top',
position: 'right',
@@ -887,7 +887,6 @@ function canUseWebP() {
return false;
// var elem = document.createElement('canvas');
-
// if (!!(elem.getContext && elem.getContext('2d'))) {
// var testString = !(window.mozInnerScreenX == null) ? 'png' : 'webp';
// // was able or not to get WebP representation