diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-06-15 00:57:46 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-06-15 00:57:46 +0300 |
commit | b4f0dcc7df786fd01f6fc357d102bc834433a3c7 (patch) | |
tree | dee3e75704a34dcb724fff030965e157d8c9f230 /app | |
parent | 9a61eadae1f82beea97d36c746660f445316ec4d (diff) |
Fix #18604, logo in header wasn't an anchor link.
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/logo.js.coffee | 6 | ||||
-rw-r--r-- | app/views/layouts/header/_default.html.haml | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/app/assets/javascripts/logo.js.coffee b/app/assets/javascripts/logo.js.coffee index 9fdc27a9787..dc2590a0355 100644 --- a/app/assets/javascripts/logo.js.coffee +++ b/app/assets/javascripts/logo.js.coffee @@ -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('/') diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml index ad30a367fc5..4170b937dd6 100644 --- a/app/views/layouts/header/_default.html.haml +++ b/app/views/layouts/header/_default.html.haml @@ -51,7 +51,7 @@ %h1.title= title .header-logo - #logo + = link_to root_path, class: 'home', title: 'Dashboard', id: 'logo' do = brand_header_logo = yield :header_content |