mirror of
https://github.com/MeiK2333/github-style.git
synced 2025-10-11 12:02:55 +00:00
custom favicon
This commit is contained in:
@@ -253,6 +253,9 @@ svgElem.classList.add(...["svg-tip", "svg-tip-one-line"]);
|
||||
document.body.appendChild(svgElem);
|
||||
|
||||
function svgTip(elem, count, dateStr) {
|
||||
if (window.screen.width < 768) {
|
||||
return;
|
||||
}
|
||||
const rect = getCoords(elem);
|
||||
const date = new Date(dateStr);
|
||||
const dateFmt = `${months[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
|
||||
|
Reference in New Issue
Block a user