diff options
Diffstat (limited to 'src/Settings.js')
-rw-r--r-- | src/Settings.js | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/Settings.js b/src/Settings.js index efc8995..209fed5 100644 --- a/src/Settings.js +++ b/src/Settings.js @@ -36,7 +36,8 @@ class SettingsModal extends Component { showAvatars: true, postPassword: "", embedYoutube: true, - colorifyIDs: true + colorifyIDs: true, + browserId: false }; this.handleChange = this.handleChange.bind(this); this.toggleSetting = this.toggleSetting.bind(this); @@ -54,7 +55,8 @@ class SettingsModal extends Component { showAvatars: settings.showAvatars, postPassword: settings.postPassword, embedYoutube: settings.embedYoutube, - colorifyIDs: settings.colorifyIDs + colorifyIDs: settings.colorifyIDs, + browserId: settings.browserId }); } @@ -91,7 +93,8 @@ class SettingsModal extends Component { postPassword, showAvatars, embedYoutube, - colorifyIDs + colorifyIDs, + browserId } = this.state; return ( <Modal trigger={this.props.trigger} size="tiny" centered={false}> @@ -122,6 +125,13 @@ class SettingsModal extends Component { onChange={this.toggleSetting} className="settingCheckbox" /> + <Checkbox + label="Interpretar navegador de posts" + checked={browserId} + name="browserId" + onChange={this.toggleSetting} + className="settingCheckbox" + /> <Header as="h4" dividing> Comportamiento </Header> |