aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/SettingsManager.tsx
diff options
context:
space:
mode:
authorAndy Rickert <andrew_rickert@brown.edu>2020-08-03 16:27:09 -0400
committerAndy Rickert <andrew_rickert@brown.edu>2020-08-03 16:27:09 -0400
commitf21febd2fff86c9f4a537cd81adb6de98eaec929 (patch)
tree2685d95e3a14ce5ee2db7fb37e9c3abef9d1017c /src/client/util/SettingsManager.tsx
parent76b8ce516103a469d36e876ddf3dd5b53f09c734 (diff)
parentfb8150f01232a3f8e9333f9ed7012b6982b00c24 (diff)
merge with new ui
Diffstat (limited to 'src/client/util/SettingsManager.tsx')
-rw-r--r--src/client/util/SettingsManager.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/util/SettingsManager.tsx b/src/client/util/SettingsManager.tsx
index fbdceb43e..6276fae96 100644
--- a/src/client/util/SettingsManager.tsx
+++ b/src/client/util/SettingsManager.tsx
@@ -14,7 +14,6 @@ import { Doc } from "../../fields/Doc";
import GroupManager from "./GroupManager";
import HypothesisAuthenticationManager from "../apis/HypothesisAuthenticationManager";
import GoogleAuthenticationManager from "../apis/GoogleAuthenticationManager";
-import { togglePlaygroundMode } from "../../fields/util";
import { DocServer } from "../DocServer";
library.add(fa.faTimes);
@@ -101,7 +100,6 @@ export default class SettingsManager extends React.Component<{}> {
@action
togglePlaygroundMode = () => {
- //togglePlaygroundMode();
this.playgroundMode = !this.playgroundMode;
if (this.playgroundMode) DocServer.Control.makeReadOnly();
else DocServer.Control.makeEditable();
@@ -138,7 +136,7 @@ export default class SettingsManager extends React.Component<{}> {
{this.errorText ? <div className="error-text">{this.errorText}</div> : undefined}
{this.successText ? <div className="success-text">{this.successText}</div> : undefined}
<button onClick={this.dispatchRequest}>submit</button>
- <a href="/forgotPassword">forgot password?</a>
+ <a style={{ marginLeft: 65, marginTop: -20 }} href="/forgotPassword">forgot password?</a>
</div>
: undefined}