diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-10-06 21:34:16 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-10-06 21:34:16 +0500 |
commit | d452523b07a66e6d71b2beb5150244165d9c30cc (patch) | |
tree | 124894d217deba707a6b6032c2f816eede6129db /web/react/components | |
parent | cbe1ab8dbac9502017a5ae5cd4eb01d9c43772e2 (diff) | |
download | chat-d452523b07a66e6d71b2beb5150244165d9c30cc.tar.gz chat-d452523b07a66e6d71b2beb5150244165d9c30cc.tar.bz2 chat-d452523b07a66e6d71b2beb5150244165d9c30cc.zip |
PLT-451 - Adding visual effect for logout active sessions button
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/activity_log_modal.jsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/web/react/components/activity_log_modal.jsx b/web/react/components/activity_log_modal.jsx index aee2541b5..15bcb2b22 100644 --- a/web/react/components/activity_log_modal.jsx +++ b/web/react/components/activity_log_modal.jsx @@ -31,6 +31,12 @@ export default class ActivityLogModal extends React.Component { } submitRevoke(altId, e) { e.preventDefault(); + var modalContent = $(e.target).closest('.modal-content'); + modalContent.addClass('animation--highlight'); + setTimeout(() => { + modalContent.removeClass('animation--highlight'); + console.log(that); + }, 1500); Client.revokeSession(altId, function handleRevokeSuccess() { AsyncClient.getSessions(); |