]> git.openstreetmap.org Git - rails.git/commitdiff
Don't offer iD on IE11
authorTom Hughes <tom@compton.nu>
Sat, 30 Nov 2013 17:53:42 +0000 (17:53 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 30 Nov 2013 17:53:42 +0000 (17:53 +0000)
app/controllers/application_controller.rb

index 7754f72fde350d57ac27c638d24a7b83194ed412..3830df88bf40fb9b117af17b2d1d27804f821be8 100644 (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