summaryrefslogtreecommitdiff
path: root/src/web/app/desktop/scripts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-06-06 23:19:48 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-06-06 23:19:48 +0900
commitc45204e4ccadf958bc2b09d6ad718239b96aeeed (patch)
treec37521e4025b118d6dc977b57de7b0f502b30a19 /src/web/app/desktop/scripts
parentMerge pull request #531 from syuilo/greenkeeper/@types/mongodb-2.2.3 (diff)
downloadsharkey-c45204e4ccadf958bc2b09d6ad718239b96aeeed.tar.gz
sharkey-c45204e4ccadf958bc2b09d6ad718239b96aeeed.tar.bz2
sharkey-c45204e4ccadf958bc2b09d6ad718239b96aeeed.zip
Improve readability
Diffstat (limited to 'src/web/app/desktop/scripts')
-rw-r--r--src/web/app/desktop/scripts/stream.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/web/app/desktop/scripts/stream.js b/src/web/app/desktop/scripts/stream.js
index 383b552075..b86be4cbd5 100644
--- a/src/web/app/desktop/scripts/stream.js
+++ b/src/web/app/desktop/scripts/stream.js
@@ -13,7 +13,7 @@ module.exports = me => {
});
s.event.on('mention', post => {
- const n = new Notification(post.user.name + "さんから:", {
+ const n = new Notification(`${post.user.name}さんから:`, {
body: getPostSummary(post),
icon: post.user.avatar_url + '?thumbnail&size=64'
});
@@ -21,7 +21,7 @@ module.exports = me => {
});
s.event.on('reply', post => {
- const n = new Notification(post.user.name + "さんから返信:", {
+ const n = new Notification(`${post.user.name}さんから返信:`, {
body: getPostSummary(post),
icon: post.user.avatar_url + '?thumbnail&size=64'
});
@@ -29,7 +29,7 @@ module.exports = me => {
});
s.event.on('quote', post => {
- const n = new Notification(post.user.name + "さんが引用:", {
+ const n = new Notification(`${post.user.name}さんが引用:`, {
body: getPostSummary(post),
icon: post.user.avatar_url + '?thumbnail&size=64'
});