]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/auth_providers.js
Merge pull request #5333 from AntonKhorev/auth-buttons-same-as-preferred
[rails.git] / app / assets / javascripts / auth_providers.js
index 3dd7601a088686c124f3b3ef170028b5ba099351..d6a7c6393c677254bccc7e18e763219ce841bf57 100644 (file)
@@ -7,16 +7,4 @@ $(document).ready(function () {
     params.referer = $("#referer").val();
     this.search = Qs.stringify(params);
   });
-
-  // Add click handler to show OpenID field
-  $("#openid_open_url").click(function () {
-    $("#openid_url").val("http://");
-    $("#login_auth_buttons").hide().removeClass("d-flex");
-    $("#login_openid_url").show();
-    $("#openid_login_button").show();
-  });
-
-  // Hide OpenID field for now
-  $("#login_openid_url").hide();
-  $("#openid_login_button").hide();
 });