Exclude phantomjs from generic webkit as it's ancient
[rails.git] / 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