diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-22 01:20:57 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-22 01:20:57 +0900 |
| commit | 1f3e128ed50ccb27096ab75f9e93cbcf8b5cef2e (patch) | |
| tree | a0ef3c48a174c788c071699e0a48b4e3ba6c4ca5 /src/web/app/common | |
| parent | wip (diff) | |
| download | misskey-1f3e128ed50ccb27096ab75f9e93cbcf8b5cef2e.tar.gz misskey-1f3e128ed50ccb27096ab75f9e93cbcf8b5cef2e.tar.bz2 misskey-1f3e128ed50ccb27096ab75f9e93cbcf8b5cef2e.zip | |
Fix
Diffstat (limited to 'src/web/app/common')
| -rw-r--r-- | src/web/app/common/tags/messaging/room.tag | 4 | ||||
| -rw-r--r-- | src/web/app/common/tags/number.tag | 3 |
2 files changed, 3 insertions, 4 deletions
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 @@ <style> :scope display inline - </style> <script> this.on('mount', () => { // https://github.com/riot/riot/issues/2103 //value = this.opts.value - const value = this.opts.riotValue; + let value = this.opts.riotValue; const max = this.opts.max; if (max != null && value > max) value = max; |