mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-17 22:00:00 +00:00
front: put notification dot in a span instead of div
This commit is contained in:
parent
9d0f033b8a
commit
3b7e9fa055
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ const isFirefox = ua.match("firefox/");
|
||||||
const isOldFirefox = ua.match("firefox/") && ua.split("firefox/")[1].split('.')[0] < 103;
|
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 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 = {
|
const switchers = {
|
||||||
"theme": ["auto", "light", "dark"],
|
"theme": ["auto", "light", "dark"],
|
||||||
|
|
Loading…
Reference in a new issue