Remove inline javascript from user settings page

This commit is contained in:
Tom Hughes 2017-11-24 16:20:50 +00:00
parent afa5d420d3
commit a3519348c6
2 changed files with 6 additions and 2 deletions

View file

@ -85,6 +85,10 @@ $(document).ready(function () {
$("select#user_auth_provider").on("change", updateAuthUID);
$("input#user_image").on("change", function () {
$("#image_action_new").prop("checked", true);
});
function enableAuth() {
$("#auth_prompt").hide();
$("#auth_field").show();