1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-03 10:25:08 +01:00

reformat intendation for login modal handler

This commit is contained in:
Tim Daubenschütz 2015-07-09 12:06:09 +02:00
parent 35a287b8a1
commit d514a553f2
2 changed files with 27 additions and 28 deletions

View File

@ -75,7 +75,6 @@ let PropertyCollapsile = React.createClass({
onClick={this.handleFocus}
onFocus={this.handleFocus}>
<input
id="checkboxCollapsible"
type="checkbox"
ref="checkboxCollapsible"/>
{/* PLEASE LEAVE THE SPACE BETWEEN LABEL and this.props.label */}

View File

@ -5,7 +5,7 @@ import React from 'react';
import Button from 'react-bootstrap/lib/Button';
import Modal from 'react-bootstrap/lib/Modal';
import OverlayMixin from 'react-bootstrap/lib/OverlayMixin';
import { getLangText } from '../utils/lang_utils.js'
import { getLangText } from '../utils/lang_utils.js';
let LoginModalHandler = React.createClass({
mixins: [OverlayMixin],
@ -23,7 +23,7 @@ let LoginModalHandler = React.createClass({
},
render() {
if (!this.state.isModalOpen || !(this.props.query.login === '')) {
if(!this.state.isModalOpen || !(this.props.query.login === '')) {
return <span/>;
}