From 4d73cd51886ebe65eda6af374edf019ac3493bd5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 20 Mar 2017 23:18:01 +0900 Subject: [PATCH] [Client] Fix bug --- src/web/app/common/tags/reaction-picker.tag | 2 +- src/web/app/desktop/tags/dialog.tag | 2 +- src/web/app/desktop/tags/image-dialog.tag | 2 +- src/web/app/desktop/tags/ui-notification.tag | 2 +- src/web/app/desktop/tags/user-preview.tag | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/web/app/common/tags/reaction-picker.tag b/src/web/app/common/tags/reaction-picker.tag index 688ccc32a3..eaba18a702 100644 --- a/src/web/app/common/tags/reaction-picker.tag +++ b/src/web/app/common/tags/reaction-picker.tag @@ -99,7 +99,7 @@ scale: 0.5, duration: 200, easing: 'easeInBack', - complete: this.unmount + complete: () => this.unmount() }); }; diff --git a/src/web/app/desktop/tags/dialog.tag b/src/web/app/desktop/tags/dialog.tag index 8c2603b46d..9905123eeb 100644 --- a/src/web/app/desktop/tags/dialog.tag +++ b/src/web/app/desktop/tags/dialog.tag @@ -127,7 +127,7 @@ scale: 0.8, duration: 300, easing: [ 0.5, -0.5, 1, 0.5 ], - complete: this.unmount + complete: () => this.unmount() }); }; diff --git a/src/web/app/desktop/tags/image-dialog.tag b/src/web/app/desktop/tags/image-dialog.tag index a2bed46b63..39d16ca139 100644 --- a/src/web/app/desktop/tags/image-dialog.tag +++ b/src/web/app/desktop/tags/image-dialog.tag @@ -54,7 +54,7 @@ opacity: 0, duration: 100, easing: 'linear', - complete: this.unmount + complete: () => this.unmount() }); }; diff --git a/src/web/app/desktop/tags/ui-notification.tag b/src/web/app/desktop/tags/ui-notification.tag index ec094edd60..f96762ec10 100644 --- a/src/web/app/desktop/tags/ui-notification.tag +++ b/src/web/app/desktop/tags/ui-notification.tag @@ -38,7 +38,7 @@ top: '-64px', duration: 500, easing: 'easeOutQuad', - complete: this.unmount + complete: () => this.unmount() }); }, 6000); }); diff --git a/src/web/app/desktop/tags/user-preview.tag b/src/web/app/desktop/tags/user-preview.tag index 1ed6853e4a..129dcaac3d 100644 --- a/src/web/app/desktop/tags/user-preview.tag +++ b/src/web/app/desktop/tags/user-preview.tag @@ -142,7 +142,7 @@ 'margin-top': '-8px', duration: 200, easing: 'easeOutQuad', - complete: this.unmount + complete: () => this.unmount() }); };