summaryrefslogtreecommitdiffstats
path: root/web/react/components/settings_sidebar.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-10-12 19:22:05 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-10-12 19:22:05 +0500
commitfd4bfee6ea393b6b707919b5da805a6a46e72d1a (patch)
treee2a0c98498700445c5ae918a5b5ff11ef9920fdd /web/react/components/settings_sidebar.jsx
parentf7e624d582b1c409876557e84c94fcf92e37f2bd (diff)
downloadchat-fd4bfee6ea393b6b707919b5da805a6a46e72d1a.tar.gz
chat-fd4bfee6ea393b6b707919b5da805a6a46e72d1a.tar.bz2
chat-fd4bfee6ea393b6b707919b5da805a6a46e72d1a.zip
Multiple UI Improvements
Diffstat (limited to 'web/react/components/settings_sidebar.jsx')
-rw-r--r--web/react/components/settings_sidebar.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/settings_sidebar.jsx b/web/react/components/settings_sidebar.jsx
index b5d2132d7..66568e1c8 100644
--- a/web/react/components/settings_sidebar.jsx
+++ b/web/react/components/settings_sidebar.jsx
@@ -10,7 +10,7 @@ export default class SettingsSidebar extends React.Component {
handleClick(tab, e) {
e.preventDefault();
this.props.updateTab(tab.name);
- $('.settings-modal').addClass('display--content');
+ $(e.target).closest('.settings-modal').addClass('display--content');
}
render() {
let tabList = this.props.tabs.map(function makeTab(tab) {