From: Tom Hughes Date: Sat, 30 Nov 2013 17:53:42 +0000 (+0000) Subject: Don't offer iD on IE11 X-Git-Tag: live~4609 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/49a4efcfa0da3f54fda6aa8fa98beffa31e1c91f?ds=inline Don't offer iD on IE11 --- diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 7754f72fd..3830df88b 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -431,7 +431,7 @@ class ApplicationController < ActionController::Base DEFAULT_EDITOR end - if request.env['HTTP_USER_AGENT'] =~ /MSIE/ and editor == 'id' + if request.env['HTTP_USER_AGENT'] =~ /MSIE|Trident/ and editor == 'id' editor = 'potlatch2' end