{headerButtons}
diff --git a/src/components/structures/RoomDirectory.js b/src/components/structures/RoomDirectory.js
index cd9ac565ab..323af86c5f 100644
--- a/src/components/structures/RoomDirectory.js
+++ b/src/components/structures/RoomDirectory.js
@@ -89,17 +89,17 @@ module.exports = React.createClass({
});
// dis.dispatch({
- // action: 'ui_opacity',
- // sideOpacity: 0.3,
- // middleOpacity: 0.3,
+ // action: 'panel_disable',
+ // sideDisabled: true,
+ // middleDisabled: true,
// });
},
componentWillUnmount: function() {
// dis.dispatch({
- // action: 'ui_opacity',
- // sideOpacity: 1.0,
- // middleOpacity: 1.0,
+ // action: 'panel_disable',
+ // sideDisabled: false,
+ // middleDisabled: false,
// });
if (this.filterTimeout) {
clearTimeout(this.filterTimeout);
diff --git a/src/components/views/dialogs/DevtoolsDialog.js b/src/components/views/dialogs/DevtoolsDialog.js
index 9c5948b4a0..7760ea8418 100644
--- a/src/components/views/dialogs/DevtoolsDialog.js
+++ b/src/components/views/dialogs/DevtoolsDialog.js
@@ -57,7 +57,7 @@ class SendCustomEvent extends React.Component {
_buttons() {
return
- {!this.state.message && }
+ { !this.state.message && }
;
}
@@ -83,7 +83,7 @@ class SendCustomEvent extends React.Component {
}
_additionalFields() {
- return
;
+ return
;
}
_onChange(e) {
@@ -94,15 +94,15 @@ class SendCustomEvent extends React.Component {
if (this.state.message) {
return
- {this.state.message}
+ { this.state.message }
- {this._buttons()}
+ { this._buttons() }
;
}
return
- {this._additionalFields()}
+ { this._additionalFields() }
@@ -117,7 +117,7 @@ class SendCustomEvent extends React.Component {
- {this._buttons()}
+ { this._buttons() }
;
}
}
@@ -223,7 +223,7 @@ class RoomStateExplorer extends React.Component {
if (this.state.event) {
return
-
{JSON.stringify(this.state.event.event, null, 2)}
+
{ JSON.stringify(this.state.event.event, null, 2) }
@@ -237,7 +237,7 @@ class RoomStateExplorer extends React.Component {
if (this.state.eventType === null) {
Object.keys(this.roomStateEvents).forEach((evType) => {
// Skip this entry if does not contain search query
- if (this.state.query && !evType.includes(this.state.query)) return;
+ if (this.state.query && !evType.toLowerCase().includes(this.state.query.toLowerCase())) return;
const stateGroup = this.roomStateEvents[evType];
const stateKeys = Object.keys(stateGroup);
@@ -258,7 +258,7 @@ class RoomStateExplorer extends React.Component {
const stateGroup = this.roomStateEvents[evType];
Object.keys(stateGroup).forEach((stateKey) => {
// Skip this entry if does not contain search query
- if (this.state.query && !stateKey.includes(this.state.query)) return;
+ if (this.state.query && !stateKey.toLowerCase().includes(this.state.query.toLowerCase())) return;
const ev = stateGroup[stateKey];
rows.push(