diff options
author | Aaron Hamilton <aaron@correspondwith.me> | 2016-02-07 02:18:34 +0300 |
---|---|---|
committer | Aaron Hamilton <aaron@correspondwith.me> | 2016-02-08 07:25:50 +0300 |
commit | 9eba0eaac3199ddf581c74b73fe69b94fa3e5498 (patch) | |
tree | a651f793ff74ed0a55fc6652e4661c1f617eaf20 /app/assets | |
parent | 66fe68ac7c29fedfd000373b99e6f9616d72ff8e (diff) |
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.coffee | 3 |
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() |