Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b4f0dcc7
Commit
b4f0dcc7
authored
Jun 14, 2016
by
Connor Shea
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #18604, logo in header wasn't an anchor link.
parent
9a61eada
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
app/assets/javascripts/logo.js.coffee
app/assets/javascripts/logo.js.coffee
+0
-6
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+1
-1
No files found.
app/assets/javascripts/logo.js.coffee
View file @
b4f0dcc7
...
...
@@ -42,9 +42,3 @@ work = ->
$
(
document
).
on
(
'page:fetch'
,
start
)
$
(
document
).
on
(
'page:change'
,
stop
)
$
->
# Make logo clickable as part of a workaround for Safari visited
# link behaviour (See !2690).
$
(
'#logo'
).
on
'click'
,
->
Turbolinks
.
visit
(
'/'
)
app/views/layouts/header/_default.html.haml
View file @
b4f0dcc7
...
...
@@ -51,7 +51,7 @@
%h1
.title
=
title
.header-logo
#log
o
=
link_to
root_path
,
class:
'home'
,
title:
'Dashboard'
,
id:
'logo'
d
o
=
brand_header_logo
=
yield
:header_content
...
...
Write
Preview
Markdown
is supported
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