fix lint
parent
7227049c2a
commit
56726ba8e5
|
@ -44,6 +44,7 @@ class UserActivity {
|
||||||
* Can be called multiple times with the same already running timer, which is a NO-OP.
|
* Can be called multiple times with the same already running timer, which is a NO-OP.
|
||||||
* Can be called before the user becomes active, in which case it is only started
|
* Can be called before the user becomes active, in which case it is only started
|
||||||
* later on when the user does become active.
|
* later on when the user does become active.
|
||||||
|
* @param {Timer} timer the timer to use
|
||||||
*/
|
*/
|
||||||
timeWhileActive(timer) {
|
timeWhileActive(timer) {
|
||||||
// important this happens first
|
// important this happens first
|
||||||
|
|
|
@ -420,7 +420,11 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
let toggleRightPanelButton;
|
let toggleRightPanelButton;
|
||||||
if (this.props.isGrid) {
|
if (this.props.isGrid) {
|
||||||
toggleRightPanelButton = <AccessibleButton className="mx_RoomHeader_button" onClick={this.onToggleRightPanelClick} title={_t('Toggle right panel')}>
|
toggleRightPanelButton =
|
||||||
|
<AccessibleButton
|
||||||
|
className="mx_RoomHeader_button"
|
||||||
|
onClick={this.onToggleRightPanelClick}
|
||||||
|
title={_t('Toggle right panel')}>
|
||||||
<TintableSvg src="img/feather-icons/toggle-right-panel.svg" width="20" height="20" />
|
<TintableSvg src="img/feather-icons/toggle-right-panel.svg" width="20" height="20" />
|
||||||
</AccessibleButton>;
|
</AccessibleButton>;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue