aboutsummaryrefslogtreecommitdiff
path: root/src/components/mention_link/mention_link.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-08-12 02:49:37 +0300
committerHenry Jameson <me@hjkos.com>2021-08-12 02:56:40 +0300
commit2cfff1b8b9c642e9284483d6658312d9a3763417 (patch)
tree32c707645da9c8de6c5f2d53e40a1afaf844f508 /src/components/mention_link/mention_link.js
parenta0eaac2216e7f279e10c6b688b9fa81f7a4fad2d (diff)
remove new options for style and separate line, now groups all chained
mentions on a mentionsline regardless of placement. fixes spacing
Diffstat (limited to 'src/components/mention_link/mention_link.js')
-rw-r--r--src/components/mention_link/mention_link.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/mention_link/mention_link.js b/src/components/mention_link/mention_link.js
index eec116db..a60a8040 100644
--- a/src/components/mention_link/mention_link.js
+++ b/src/components/mention_link/mention_link.js
@@ -65,9 +65,6 @@ const MentionLink = {
highlightClass () {
if (this.highlight) return highlightClass(this.user)
},
- oldStyle () {
- return !this.mergedConfig.mentionsNewStyle
- },
style () {
if (this.highlight) {
const {
@@ -83,8 +80,7 @@ const MentionLink = {
return [
{
'-you': this.isYou,
- '-highlighted': this.highlight,
- '-oldStyle': this.oldStyle
+ '-highlighted': this.highlight
},
this.highlightType
]