mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 19:51:32 +03:00
Elliminate lint errors and warnings
This commit is contained in:
parent
839f938c91
commit
321b1adb99
4 changed files with 5 additions and 4 deletions
|
@ -46,7 +46,7 @@ export default React.createClass({
|
||||||
|
|
||||||
// Id of content element
|
// Id of content element
|
||||||
// If provided, this is used to add a aria-describedby attribute
|
// If provided, this is used to add a aria-describedby attribute
|
||||||
contentId: React.PropTypes.string
|
contentId: React.PropTypes.string,
|
||||||
},
|
},
|
||||||
|
|
||||||
componentDidMount: function() {
|
componentDidMount: function() {
|
||||||
|
|
|
@ -71,7 +71,7 @@ export default React.createClass({
|
||||||
<button onClick={this.onCancel}>
|
<button onClick={this.onCancel}>
|
||||||
{ _t('Cancel') }
|
{ _t('Cancel') }
|
||||||
</button>
|
</button>
|
||||||
<input type="submit" className="mx_Dialog_primary" value={ _t('Create Room') }/>
|
<input type="submit" className="mx_Dialog_primary" value={_t('Create Room')} />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</BaseDialog>
|
</BaseDialog>
|
||||||
|
|
|
@ -54,7 +54,8 @@ export default React.createClass({
|
||||||
{ _t(
|
{ _t(
|
||||||
"Otherwise, <a>click here</a> to send a bug report.",
|
"Otherwise, <a>click here</a> to send a bug report.",
|
||||||
{},
|
{},
|
||||||
{ 'a': (sub) => <a ref="bugreportLink" onClick={this._sendBugReport} key="bugreport" href='#'>{ sub }</a> },
|
{ 'a': (sub) => <a ref="bugreportLink" onClick={this._sendBugReport}
|
||||||
|
key="bugreport" href='#'>{ sub }</a> },
|
||||||
) }
|
) }
|
||||||
</p>
|
</p>
|
||||||
);
|
);
|
||||||
|
|
|
@ -75,7 +75,7 @@ export default React.createClass({
|
||||||
<button onClick={this.onCancel}>
|
<button onClick={this.onCancel}>
|
||||||
{ _t("Cancel") }
|
{ _t("Cancel") }
|
||||||
</button>
|
</button>
|
||||||
<input type="submit" className="mx_Dialog_primary" value={ this.props.button }/>
|
<input type="submit" className="mx_Dialog_primary" value={this.props.button} />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</BaseDialog>
|
</BaseDialog>
|
||||||
|
|
Loading…
Reference in a new issue