From afab95c328e222f719045bf95b2e91d569ac1db4 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 25 Aug 2016 16:40:45 +0300 Subject: [PATCH] closes #239 --- lib/persona.js | 1 + templates/partials/account/header.tpl | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/persona.js b/lib/persona.js index a184789..48cd094 100644 --- a/lib/persona.js +++ b/lib/persona.js @@ -281,6 +281,7 @@ $(document).ready(function() { }); $(this).toggleClass('plus').toggleClass('heart'); + $(this).translateAttr('title', type === 'follow' ? '[[global:unfollow]]' : '[[global:follow]]'); if ($(this).find('b.drop').length === 0) { $(this).prepend(''); diff --git a/templates/partials/account/header.tpl b/templates/partials/account/header.tpl index 317b1bb..95103a0 100644 --- a/templates/partials/account/header.tpl +++ b/templates/partials/account/header.tpl @@ -8,10 +8,10 @@
{icon:text}
- + -