From 4ed3e69866c5416b00bf756fc59cfd2fc9625dab Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Fri, 2 Apr 2021 12:55:05 -0500 Subject: [PATCH] Remove unnecessary and broken isReloading from settings modal It could lockup the website if location.reload fails for whatever reason --- src/components/tw-settings-modal/settings-modal.css | 7 ------- src/components/tw-settings-modal/settings-modal.jsx | 3 +-- src/containers/tw-settings-modal.jsx | 10 +--------- 3 files changed, 2 insertions(+), 18 deletions(-) diff --git a/src/components/tw-settings-modal/settings-modal.css b/src/components/tw-settings-modal/settings-modal.css index 921fe22b9..c3d9edef0 100644 --- a/src/components/tw-settings-modal/settings-modal.css +++ b/src/components/tw-settings-modal/settings-modal.css @@ -16,13 +16,6 @@ background: $ui-primary; } -.disabled { - pointer-events: none; -} -.disabled > * { - opacity: 0.8; -} - .setting { display: flex; flex-direction: column; diff --git a/src/components/tw-settings-modal/settings-modal.jsx b/src/components/tw-settings-modal/settings-modal.jsx index 79eb9277f..cbcbd7b55 100644 --- a/src/components/tw-settings-modal/settings-modal.jsx +++ b/src/components/tw-settings-modal/settings-modal.jsx @@ -363,7 +363,7 @@ const SettingsModalComponent = props => ( contentLabel={props.intl.formatMessage(messages.title)} id="settingsModal" > - +