summaryrefslogtreecommitdiff
path: root/layouts/_partials/scripts/action-menu-js.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_partials/scripts/action-menu-js.html')
-rw-r--r--layouts/_partials/scripts/action-menu-js.html4
1 files changed, 0 insertions, 4 deletions
diff --git a/layouts/_partials/scripts/action-menu-js.html b/layouts/_partials/scripts/action-menu-js.html
index e91b71f4..df1c498c 100644
--- a/layouts/_partials/scripts/action-menu-js.html
+++ b/layouts/_partials/scripts/action-menu-js.html
@@ -128,10 +128,6 @@ function initializeLikes(pageId) {
window.sendLike = async function(pageId) {
if (localStorage.getItem("liked_" + pageId)) return;
- if (window.location.hostname !== 'localhost' && typeof umami !== 'undefined') {
- umami.track('👍 Hit Like Button');
- }
-
try {
const response = await fetch("https://like.guhub.cn/like/" + pageId, { method: "POST" });
const data = await response.json();