From fbc6f1c97af673c3563e015c80a6555f4456bd41 Mon Sep 17 00:00:00 2001 From: MathuraMG Date: Mon, 29 Aug 2016 16:36:35 -0400 Subject: [PATCH] switch to onChange --- client/modules/IDE/components/Preferences.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/client/modules/IDE/components/Preferences.js b/client/modules/IDE/components/Preferences.js index da8c6251..0cf77843 100644 --- a/client/modules/IDE/components/Preferences.js +++ b/client/modules/IDE/components/Preferences.js @@ -114,7 +114,7 @@ class Preferences extends React.Component {
Spaces this.props.setAutosave(true)} + onChange={() => this.props.setAutosave(true)} aria-label="autosave on" name="autosave" id="autosave-on" @@ -152,7 +152,7 @@ class Preferences extends React.Component { this.props.setAutosave(false)} + onChange={() => this.props.setAutosave(false)} aria-label="autosave off" name="autosave" id="autosave-off" @@ -168,7 +168,7 @@ class Preferences extends React.Component {
this.props.setLintWarning(true)} + onChange={() => this.props.setLintWarning(true)} aria-label="lint warning on" name="lint warning" id="lint-warning-on" @@ -179,7 +179,7 @@ class Preferences extends React.Component { this.props.setLintWarning(false)} + onChange={() => this.props.setLintWarning(false)} aria-label="lint warning off" name="lint warning" id="lint-warning-off" @@ -197,7 +197,7 @@ class Preferences extends React.Component {
this.props.setTextOutput(true)} + onChange={() => this.props.setTextOutput(true)} aria-label="text output on" name="text output" id="text-output-on" @@ -208,7 +208,7 @@ class Preferences extends React.Component { this.props.setTextOutput(false)} + onChange={() => this.props.setTextOutput(false)} aria-label="text output off" name="text output" id="text-output-off"