From bd4de52c98bcf2830d1b6dcba637cc04d67e11cf Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Thu, 10 Dec 2015 18:34:18 -0800 Subject: [PATCH] Support using iD on Internet Explorer 11 and above --- app/controllers/application_controller.rb | 4 ---- app/views/site/id.html.erb | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 3470db86c..2ee701e9c 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -435,10 +435,6 @@ class ApplicationController < ActionController::Base DEFAULT_EDITOR end - if request.env["HTTP_USER_AGENT"] =~ /MSIE|Trident/ && editor == "id" - editor = "potlatch2" - end - editor end diff --git a/app/views/site/id.html.erb b/app/views/site/id.html.erb index 80332e887..27a3e835b 100644 --- a/app/views/site/id.html.erb +++ b/app/views/site/id.html.erb @@ -10,9 +10,9 @@