diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 532aa1e2..151b71d5 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -66,7 +66,7 @@
liked_article = true
document.querySelectorAll("span[id='likes_button_heart']")[0].style.display = ""
document.querySelectorAll("span[id='likes_button_emtpty_heart']")[0].style.display = "none"
- document.querySelectorAll("span[id='likes_button_text']")[0].innerText = "Remove Like"
+ document.querySelectorAll("span[id='likes_button_text']")[0].innerText = ""
}
}
@@ -80,7 +80,7 @@
localStorage.setItem(id_likes, true);
document.querySelectorAll("span[id='likes_button_heart']")[0].style.display = ""
document.querySelectorAll("span[id='likes_button_emtpty_heart']")[0].style.display = "none"
- document.querySelectorAll("span[id='likes_button_text']")[0].innerText = "Remove Like"
+ document.querySelectorAll("span[id='likes_button_text']")[0].innerText = ""
if (doc.exists) {
db.collection('likes').doc(id_likes).update({
likes: firebase.firestore.FieldValue.increment(1)
@@ -108,7 +108,7 @@
localStorage.removeItem(id_likes);
document.querySelectorAll("span[id='likes_button_heart']")[0].style.display = "none"
document.querySelectorAll("span[id='likes_button_emtpty_heart']")[0].style.display = ""
- document.querySelectorAll("span[id='likes_button_text']")[0].innerText = "Like"
+ document.querySelectorAll("span[id='likes_button_text']")[0].innerText = "\xa0Like"
if (doc.exists) {
db.collection('likes').doc(id_likes).update({
likes: firebase.firestore.FieldValue.increment(-1)
diff --git a/layouts/partials/meta/likes_button.html b/layouts/partials/meta/likes_button.html
index 919f3059..4d768c76 100644
--- a/layouts/partials/meta/likes_button.html
+++ b/layouts/partials/meta/likes_button.html
@@ -5,8 +5,7 @@
onclick="process_article()">
{{ partial "icon.html" "heart" }}
{{ partial "icon.html" "heart-empty" }}
-
- Like
+ Like
{{- /* Trim EOF */ -}}
\ No newline at end of file