Skip to content
This repository has been archived by the owner on Nov 13, 2019. It is now read-only.

Commit

Permalink
remove IE11 from supported browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
ericfranz committed Sep 8, 2016
1 parent 874551f commit df0d4a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/dashboard_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class DashboardController < ApplicationController
def index
flash.now[:alert] = "OnDemand requires a newer version of the browser you are using. Current browser requirements include IE10+, Firefox 19+, Chrome 34+, Safar 8+." unless view_context.browser.modern?
flash.now[:alert] = "OnDemand requires a newer version of the browser you are using. Current browser requirements include IE Edge, Firefox 19+, Chrome 34+, Safar 8+." unless view_context.browser.modern?
flash.now[:alert] = "OnDemand is not yet optimized for mobile use." if view_context.browser.device.mobile?

@motd_file = MotdFile.new
Expand Down
1 change: 0 additions & 1 deletion config/initializers/browser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
rules << -> (b) { b.safari? && b.version.to_i >= 8 }
rules << -> (b) { b.webkit? && !b.chrome? && !b.safari? }
rules << -> (b) { b.firefox? && b.version.to_i >= 19 }
rules << -> (b) { b.ie? && b.version.to_i >= 11 && !b.compatibility_view? }
rules << -> (b) { b.edge? && !b.compatibility_view? }
rules << -> (b) { b.opera? && b.version.to_i >= 12 }
rules << -> (b) { b.firefox? && b.device.tablet? && b.platform.android? && b.version.to_i >= 14 } # rubocop:disable Metrics/LineLength
Expand Down

0 comments on commit df0d4a1

Please sign in to comment.