diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-25 13:21:47 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-25 13:21:47 +0900 |
| commit | fc8aeb5a66f840acb272b26f5fe7fd4334dd9e26 (patch) | |
| tree | 6862bd28f6edb63838ed0a9b87f02ac82cb9a090 /src/client/app/common/scripts/note-mixin.ts | |
| parent | Add MFM test (diff) | |
| download | sharkey-fc8aeb5a66f840acb272b26f5fe7fd4334dd9e26.tar.gz sharkey-fc8aeb5a66f840acb272b26f5fe7fd4334dd9e26.tar.bz2 sharkey-fc8aeb5a66f840acb272b26f5fe7fd4334dd9e26.zip | |
[Client] Fix bug
Diffstat (limited to 'src/client/app/common/scripts/note-mixin.ts')
| -rw-r--r-- | src/client/app/common/scripts/note-mixin.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/common/scripts/note-mixin.ts b/src/client/app/common/scripts/note-mixin.ts index 9e5fa0f5f5..ae824260cf 100644 --- a/src/client/app/common/scripts/note-mixin.ts +++ b/src/client/app/common/scripts/note-mixin.ts @@ -80,7 +80,7 @@ export default (opts: Opts = {}) => ({ const ast = parse(this.appearNote.text); // TODO: 再帰的にURL要素がないか調べる return unique(ast - .filter(t => ((t.name == 'url' || t.name == 'link') && t.props.url && !t.silent)) + .filter(t => ((t.name == 'url' || t.name == 'link') && t.props.url && !t.props.silent)) .map(t => t.props.url)); } else { return null; |