summaryrefslogtreecommitdiff
path: root/src/client/app/common/scripts/note-subscriber.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-10-09 01:33:40 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-10-09 01:33:40 +0900
commit51d8de2c38baeba3afee64355e2a8e85aa09b1bb (patch)
tree55441751e46a3b896eedbc495d3962db888e98c8 /src/client/app/common/scripts/note-subscriber.ts
parentFix bug (diff)
downloadsharkey-51d8de2c38baeba3afee64355e2a8e85aa09b1bb.tar.gz
sharkey-51d8de2c38baeba3afee64355e2a8e85aa09b1bb.tar.bz2
sharkey-51d8de2c38baeba3afee64355e2a8e85aa09b1bb.zip
Improve readability
Diffstat (limited to 'src/client/app/common/scripts/note-subscriber.ts')
-rw-r--r--src/client/app/common/scripts/note-subscriber.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/common/scripts/note-subscriber.ts b/src/client/app/common/scripts/note-subscriber.ts
index 4315f1a023..9a9a3c1198 100644
--- a/src/client/app/common/scripts/note-subscriber.ts
+++ b/src/client/app/common/scripts/note-subscriber.ts
@@ -13,7 +13,7 @@ export default prop => ({
},
$_ns_isRenote(): boolean {
- return (this.$_ns_note_.renote &&
+ return (this.$_ns_note_.renote != null &&
this.$_ns_note_.text == null &&
this.$_ns_note_.fileIds.length == 0 &&
this.$_ns_note_.poll == null);