Skip to content

Commit bdd8df6

Browse files
committed
remove https from toolbar
1 parent 1aae962 commit bdd8df6

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

client/modules/IDE/components/Toolbar.jsx

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const playUrl = require('../../../images/play.svg');
77
const stopUrl = require('../../../images/stop.svg');
88
const preferencesUrl = require('../../../images/preferences.svg');
99
const editProjectNameUrl = require('../../../images/pencil.svg');
10-
const helpUrl = require('../../../images/help.svg');
1110

1211
class Toolbar extends React.Component {
1312
constructor(props) {
@@ -94,30 +93,6 @@ class Toolbar extends React.Component {
9493
Auto-refresh
9594
</label>
9695
</div>
97-
{
98-
this.props.currentUser == null ?
99-
null :
100-
<div className="toolbar__serve-secure">
101-
<input
102-
id="serve-secure"
103-
type="checkbox"
104-
checked={this.props.project.serveSecure || false}
105-
onChange={(event) => {
106-
this.props.setServeSecure(event.target.checked);
107-
}}
108-
/>
109-
<label htmlFor="serve-secure" className="toolbar__serve-secure-label">
110-
HTTPS
111-
</label>
112-
<button
113-
className="toolbar__serve-secure-help"
114-
onClick={() => this.props.showHelpModal('serveSecure')}
115-
aria-label="help"
116-
>
117-
<InlineSVG src={helpUrl} alt="Help" />
118-
</button>
119-
</div>
120-
}
12196
<div className={nameContainerClass}>
12297
<a
12398
className="toolbar__project-name"
@@ -187,15 +162,12 @@ Toolbar.propTypes = {
187162
name: PropTypes.string.isRequired,
188163
isEditingName: PropTypes.bool,
189164
id: PropTypes.string,
190-
serveSecure: PropTypes.bool,
191165
}).isRequired,
192166
showEditProjectName: PropTypes.func.isRequired,
193167
hideEditProjectName: PropTypes.func.isRequired,
194-
showHelpModal: PropTypes.func.isRequired,
195168
infiniteLoop: PropTypes.bool.isRequired,
196169
autorefresh: PropTypes.bool.isRequired,
197170
setAutorefresh: PropTypes.func.isRequired,
198-
setServeSecure: PropTypes.func.isRequired,
199171
startSketch: PropTypes.func.isRequired,
200172
startAccessibleSketch: PropTypes.func.isRequired,
201173
saveProject: PropTypes.func.isRequired,

client/modules/IDE/pages/IDEView.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,6 @@ class IDEView extends React.Component {
230230
hideEditProjectName={this.props.hideEditProjectName}
231231
openPreferences={this.props.openPreferences}
232232
preferencesIsVisible={this.props.ide.preferencesIsVisible}
233-
serveSecure={this.props.project.serveSecure}
234-
setServeSecure={this.props.setServeSecure}
235233
setTextOutput={this.props.setTextOutput}
236234
setGridOutput={this.props.setGridOutput}
237235
setSoundOutput={this.props.setSoundOutput}

0 commit comments

Comments
 (0)