aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/SettingsManager.tsx
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2020-08-01 00:42:01 +0530
committerusodhi <61431818+usodhi@users.noreply.github.com>2020-08-01 00:42:01 +0530
commit10f6686e0ed4a5d7a975fdf2f3453b069fa0ae04 (patch)
tree56b4076d1c5fc3c3981685fb27d87fcdca5a904b /src/client/util/SettingsManager.tsx
parent38cfa8e547c1ffb7344f83ebb5dd9798d0dd0d0c (diff)
playground mode changes
Diffstat (limited to 'src/client/util/SettingsManager.tsx')
-rw-r--r--src/client/util/SettingsManager.tsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/util/SettingsManager.tsx b/src/client/util/SettingsManager.tsx
index fbdceb43e..207c78964 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();