Skip to content

Commit

Permalink
Drop IE specific favicon support
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Jan 26, 2025
1 parent 776459a commit 22b0022
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,6 @@ gem "ffi-libarchive"
gem "gd2-ffij", ">= 0.4.0"
gem "marcel"

# Used for browser detection
gem "browser", "< 6" # for ruby 3.1 support

# Used for S3 object storage
gem "aws-sdk-s3"

Expand Down
2 changes: 0 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ GEM
brakeman (7.0.0)
racc
brotli (0.6.0)
browser (5.3.1)
builder (3.3.0)
bzip2-ffi (1.1.1)
ffi (~> 1.0)
Expand Down Expand Up @@ -683,7 +682,6 @@ DEPENDENCIES
bootstrap (~> 5.3.2)
bootstrap_form (~> 5.0)
brakeman
browser (< 6)
bzip2-ffi
cancancan
canonical-rails
Expand Down
1 change: 0 additions & 1 deletion app/views/layouts/_meta.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<%= favicon_link_tag "favicon.ico" if browser.ie? %>
<% [57, 60, 72, 76, 114, 120, 144, 152, 180].each do |size| -%>
<%= favicon_link_tag "apple-touch-icon-#{size}x#{size}.png", :rel => "apple-touch-icon", :sizes => "#{size}x#{size}", :type => "image/png" %>
<% end -%>
Expand Down

0 comments on commit 22b0022

Please sign in to comment.