From 1f3e128ed50ccb27096ab75f9e93cbcf8b5cef2e Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 22 Feb 2017 01:20:57 +0900 Subject: Fix --- src/web/app/common/tags/messaging/room.tag | 4 ++-- src/web/app/common/tags/number.tag | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src/web/app/common') diff --git a/src/web/app/common/tags/messaging/room.tag b/src/web/app/common/tags/messaging/room.tag index cb676badba..c7fed91db3 100644 --- a/src/web/app/common/tags/messaging/room.tag +++ b/src/web/app/common/tags/messaging/room.tag @@ -136,8 +136,8 @@ this.connection = new this.MessagingStreamConnection(this.I, this.user.id); this.on('mount', () => { - this.connection.event.on('message' this.onMessage); - this.connection.event.on('read' this.onRead); + this.connection.event.on('message', this.onMessage); + this.connection.event.on('read', this.onRead); document.addEventListener('visibilitychange', this.onVisibilitychange); diff --git a/src/web/app/common/tags/number.tag b/src/web/app/common/tags/number.tag index 212a80b736..7dcbceba6a 100644 --- a/src/web/app/common/tags/number.tag +++ b/src/web/app/common/tags/number.tag @@ -2,13 +2,12 @@