Remove "Display secure content only" option
allowDisplayingInsecureContent is removed in Electron 1.6. And it's no longer necessary to show http contents in https server.
This commit is contained in:
@@ -36,7 +36,6 @@ const styles = {
|
||||
|
||||
const MainPage = React.createClass({
|
||||
propTypes: {
|
||||
disablewebsecurity: React.PropTypes.bool.isRequired,
|
||||
onUnreadCountChange: React.PropTypes.func.isRequired,
|
||||
teams: React.PropTypes.array.isRequired,
|
||||
onTeamConfigChange: React.PropTypes.func.isRequired,
|
||||
@@ -291,7 +290,6 @@ const MainPage = React.createClass({
|
||||
style={self.visibleStyle(isActive)}
|
||||
src={team.url}
|
||||
name={team.name}
|
||||
disablewebsecurity={this.props.disablewebsecurity}
|
||||
onTargetURLChange={self.handleTargetURLChange}
|
||||
onUnreadCountChange={handleUnreadCountChange}
|
||||
onNotificationClick={handleNotificationClick}
|
||||
|
Reference in New Issue
Block a user