Don't offer iD on IE11

This commit is contained in:
Tom Hughes 2013-11-30 17:53:42 +00:00
parent 61fc15aee1
commit 49a4efcfa0

View file

@ -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