From a46a627302965ef66a73d05ebb7b75e20c65ca5a Mon Sep 17 00:00:00 2001 From: ohohoi Date: Mon, 12 Oct 2020 01:53:34 +0900 Subject: [PATCH] Convert vars to ES6 consts --- custom-error/src/main/resources/static/index.html | 2 +- logout/src/main/resources/static/index.html | 2 +- two-providers/src/main/resources/static/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/custom-error/src/main/resources/static/index.html b/custom-error/src/main/resources/static/index.html index 905c4cb..40104c1 100644 --- a/custom-error/src/main/resources/static/index.html +++ b/custom-error/src/main/resources/static/index.html @@ -55,7 +55,7 @@

Login

$(".error").html(''); } }); - var logout = function() { + const logout = function() { $.post("/logout", function() { $("#user").html(''); $(".unauthenticated").show(); diff --git a/logout/src/main/resources/static/index.html b/logout/src/main/resources/static/index.html index 6714561..73224be 100644 --- a/logout/src/main/resources/static/index.html +++ b/logout/src/main/resources/static/index.html @@ -46,7 +46,7 @@

Login

$(".unauthenticated").hide(); $(".authenticated").show(); }); - var logout = function() { + const logout = function() { $.post("/logout", function() { $("#user").html(''); $(".unauthenticated").show(); diff --git a/two-providers/src/main/resources/static/index.html b/two-providers/src/main/resources/static/index.html index 09bd313..f574c23 100644 --- a/two-providers/src/main/resources/static/index.html +++ b/two-providers/src/main/resources/static/index.html @@ -49,7 +49,7 @@

Login

$(".unauthenticated").hide(); $(".authenticated").show(); }); - var logout = function() { + const logout = function() { $.post("/logout", function() { $("#user").html(''); $(".unauthenticated").show();