]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Remove more header font size overrides
[rails.git] / app / assets / javascripts / index.js
index 562eb80fdd2fe1d7d59c5c6fa5c17df6291cf78a..704016c6673daf233963580cc2676a035205bfe9 100644 (file)
@@ -20,7 +20,6 @@
 //= require index/changeset
 //= require index/query
 //= require router
-//= require bowser
 //= require querystring
 
 $(document).ready(function () {
@@ -255,12 +254,7 @@ $(document).ready(function () {
           bottom: bbox.getSouth() - 0.0001
         };
 
-    if (location.protocol === "http" ||
-        bowser.check({ chrome: "53", firefox: "55" })) {
-      url = "http://127.0.0.1:8111/load_and_zoom?";
-    } else {
-      url = "https://127.0.0.1:8112/load_and_zoom?";
-    }
+    url = "http://127.0.0.1:8111/load_and_zoom?";
 
     if (object) query.select = object.type + object.id;
 
@@ -347,8 +341,8 @@ $(document).ready(function () {
           });
         }
       });
-      
-      $('.colour-preview-box').each(function () {
+
+      $(".colour-preview-box").each(function () {
         $(this).css("background-color", $(this).data("colour"));
       });
     }