Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nicolas Frandeboeuf
kresus
Commits
7e000621
Commit
7e000621
authored
Jun 06, 2017
by
Nicolas Frandeboeuf
Browse files
Fix menu not closing when clicking on content
parent
5e247612
Pipeline
#16466
passed with stage
in 2 minutes and 48 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
client/main.js
View file @
7e000621
...
...
@@ -76,7 +76,7 @@ class BaseApp extends React.Component {
let
{
currentAccountId
,
initialAccountId
,
location
,
maybeCurrentAccount
}
=
this
.
props
;
let
handleContentClick
=
null
;
if
(
this
.
props
.
isSmallScreen
)
{
if
(
this
.
state
.
isSmallScreen
)
{
handleContentClick
=
()
=>
{
this
.
setState
({
isMenuHidden
:
true
});
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment