summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorAaron Hamilton <aaron@correspondwith.me>2016-02-06 23:18:34 +0000
committerAaron Hamilton <aaron@correspondwith.me>2016-02-08 04:25:50 +0000
commit9eba0eaac3199ddf581c74b73fe69b94fa3e5498 (patch)
treea651f793ff74ed0a55fc6652e4661c1f617eaf20 /app/assets
parent66fe68ac7c29fedfd000373b99e6f9616d72ff8e (diff)
downloadgitlab-ce-9eba0eaac3199ddf581c74b73fe69b94fa3e5498.tar.gz
Prevent rasterization artefacts in the logo, and simplify markup.
- Remove sketch-namespaced attributes. - Remove unused groups, and cancel out unnecessary transforms. - Use overlap to avoid rasterization artefacts in the logo. - Extend comment for `#logo` click event handler, as it's a non-obvious hack for Safari. - Remove viewBox parameter and define paths in their final form.
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/logo.js.coffee3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/logo.js.coffee b/app/assets/javascripts/logo.js.coffee
index e7d884662ea..35b2fbbba07 100644
--- a/app/assets/javascripts/logo.js.coffee
+++ b/app/assets/javascripts/logo.js.coffee
@@ -44,6 +44,7 @@ $(document).on('page:fetch', start)
$(document).on('page:change', stop)
$ ->
- # Make logo clickable
+ # Make logo clickable as part of a workaround for Safari visited
+ # link behaviour (See !2690).
$('#logo').on 'click', ->
$('#js-shortcuts-home').get(0).click()