Exclude phantomjs from generic webkit as it's ancient
authorTom Hughes <tom@compton.nu>
Mon, 5 Aug 2019 19:41:22 +0000 (20:41 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 5 Aug 2019 19:41:22 +0000 (20:41 +0100)
Fixes #2339

config/initializers/browser.rb

index 29dc706..ff0747d 100644 (file)
@@ -14,7 +14,7 @@ module OpenStreetMap
       end
 
       def generic_webkit?
-        webkit? && !chrome? && !safari? && !edge?
+        webkit? && !chrome? && !safari? && !edge? && !phantom_js?
       end
     end
   end