From 205d0bc40cec2ee809e6f1bc167b248ca2458420 Mon Sep 17 00:00:00 2001 From: Hannes Mannerheim Date: Thu, 18 Jun 2015 00:15:44 +0200 Subject: [PATCH] better support for old statusnet style mentions --- js/misc-functions.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/misc-functions.js b/js/misc-functions.js index a45c6f1..be19522 100644 --- a/js/misc-functions.js +++ b/js/misc-functions.js @@ -773,7 +773,9 @@ function detectRTL(s) { else { // for ltr languages we move @, ! and # to inside $streamItem.find('.queet-text').find('.h-card.mention').prepend('@'); - $streamItem.find('.queet-text').find('.h-card.group').prepend('!'); + $streamItem.find('.queet-text').find('.h-card.group').prepend('!'); + $streamItem.find('.queet-text').find('.vcard .nickname.mention').prepend('@'); // old style + $streamItem.find('.queet-text').find('.vcard .nickname.group').prepend('!'); // old style $streamItem.find('.queet-text').find('a[rel="tag"]').prepend('#'); }