mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 04:31:56 +08:00
Don't return the word cloaked for cloaked post, blank works fine :)
This commit is contained in:
parent
0a128852de
commit
1fde5a1993
|
@ -404,7 +404,7 @@ export default createWidget('post', {
|
|||
},
|
||||
|
||||
html(attrs) {
|
||||
if (attrs.cloaked) { return 'cloaked'; }
|
||||
if (attrs.cloaked) { return ''; }
|
||||
|
||||
return this.attach('post-article', attrs);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user