Skip to content

best way to save what you love

front: put notification dot in a span instead of div

wukko3b7e9fa0550b
diff --git a/src/front/cobalt.js b/src/front/cobalt.js
index 3748deda..4efedcde 100644
--- a/src/front/cobalt.js
+++ b/src/front/cobalt.js
@@ -8,7 +8,7 @@ const isFirefox = ua.match("firefox/");
const isOldFirefox = ua.match("firefox/") && ua.split("firefox/")[1].split('.')[0] < 103;
const regex = new RegExp(/https:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()!@:%_\+.~#?&\/\/=]*)/);
-const notification = `<div class="notification-dot"></div>`;
+const notification = `<span class="notification-dot"></span>`;
const switchers = {
"theme": ["auto", "light", "dark"],