summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2016-03-08 15:47:50 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2016-03-08 15:47:50 +0500
commitb934dfc059ea2863c0760d4cd2f7ebe7be860c3c (patch)
tree5e2bb400c88dcfe1f15fcf06111cd2c653f20daf /web
parent7db020ec34c041d10e7fb64e2cf8f7267e34afdc (diff)
downloadchat-b934dfc059ea2863c0760d4cd2f7ebe7be860c3c.tar.gz
chat-b934dfc059ea2863c0760d4cd2f7ebe7be860c3c.tar.bz2
chat-b934dfc059ea2863c0760d4cd2f7ebe7be860c3c.zip
Multiple UI Improvements
Diffstat (limited to 'web')
-rw-r--r--web/react/components/file_attachment.jsx6
-rw-r--r--web/react/components/user_settings/user_settings_modal.jsx2
2 files changed, 4 insertions, 4 deletions
diff --git a/web/react/components/file_attachment.jsx b/web/react/components/file_attachment.jsx
index 6aeae638f..c719c6c7d 100644
--- a/web/react/components/file_attachment.jsx
+++ b/web/react/components/file_attachment.jsx
@@ -151,9 +151,9 @@ class FileAttachment extends React.Component {
this.setState({fileSize: parseInt(data.size, 10)});
}
}.bind(this),
- function error() {
- // Do nothing
- }
+ function error() {
+ // Do nothing
+ }
);
} else {
fileSizeString = utils.fileSizeToString(this.state.fileSize);
diff --git a/web/react/components/user_settings/user_settings_modal.jsx b/web/react/components/user_settings/user_settings_modal.jsx
index 5d9951b72..fa3415988 100644
--- a/web/react/components/user_settings/user_settings_modal.jsx
+++ b/web/react/components/user_settings/user_settings_modal.jsx
@@ -277,7 +277,7 @@ class UserSettingsModal extends React.Component {
/>
</Modal.Title>
</Modal.Header>
- <Modal.Body bsClass='settings-modal__body modal' ref='modalBody'>
+ <Modal.Body ref='modalBody'>
<div className='settings-table'>
<div className='settings-links'>
<SettingsSidebar